文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit c0eb0621 by 张欣玥

改了一下返回前弹窗

parent 4e4f76dd
...@@ -329,13 +329,13 @@ export default { ...@@ -329,13 +329,13 @@ export default {
i = 1 i = 1
}) })
var _this = this; // var _this = this;
setTimeout(function () { // setTimeout(function () {
if (i == 0) { // if (i == 0) {
_this.$destroy() // _this.$destroy()
next() // next()
} // }
},500) // },500)
// this.$destroy(); // this.$destroy();
// next(); // next();
}, },
......
...@@ -249,13 +249,13 @@ export default { ...@@ -249,13 +249,13 @@ export default {
i = 1 i = 1
}) })
var _this = this; // var _this = this;
setTimeout(function () { // setTimeout(function () {
if (i == 0) { // if (i == 0) {
_this.$destroy() // _this.$destroy()
next() // next()
} // }
},500) // },500)
}, },
watch: { watch: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment