Commit a88ad53c by 初志鑫

deploy

parent 3d524ed5
...@@ -139,6 +139,12 @@ ...@@ -139,6 +139,12 @@
immediate: true, immediate: true,
}, },
}, },
created() {
document.body.style.overflow = "hidden";
},
beforeDestroy() {
document.body.style.overflow = "auto";
},
mounted() { mounted() {
if ("production" !== process.env.NODE_ENV) { if ("production" !== process.env.NODE_ENV) {
this.form.username = "admin"; this.form.username = "admin";
......
...@@ -154,9 +154,11 @@ ...@@ -154,9 +154,11 @@
passwordType: "password", passwordType: "password",
}; };
}, },
created() {}, created() {
mounted() {}, document.body.style.overflow = "hidden";
},
beforeDestroy() { beforeDestroy() {
document.body.style.overflow = "auto";
this.getPhoneIntval = null; this.getPhoneIntval = null;
clearInterval(this.getPhoneIntval); clearInterval(this.getPhoneIntval);
}, },
......
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