Commit ae6ad3e1 authored by zhengke's avatar zhengke

修改

parent 570da5b6
...@@ -199,8 +199,8 @@ ...@@ -199,8 +199,8 @@
</el-form> </el-form>
<img alt class="logo" /> <img alt class="logo" />
<div class="register_box"> <div class="register_box">
<span class="register">忘记密码?</span> <span class="register" @click="CommonJump('Forgetpassword',{blank:'y'})">忘记密码?</span>
<span class="register" @click="goLogin()" style="border-left: 1px solid rgb(169, 169, 169);">注册账号</span> <span class="register" @click="CommonJump('Register',{blank:'y'})" style="border-left: 1px solid rgb(169, 169, 169);">注册账号</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -278,16 +278,6 @@ ...@@ -278,16 +278,6 @@
} }
}); });
}, },
//跳转注册
goLogin() {
this.$router.push({
name: 'Register',
query: {
blank: "y"
}
});
},
}, },
mounted() { mounted() {
if (!this.isOnline()) { if (!this.isOnline()) {
......
...@@ -166,6 +166,14 @@ export default { ...@@ -166,6 +166,14 @@ export default {
} }
}); });
}, },
//公用跳转
Vue.prototype.CommonJump = function(path,obj){
this.$router.push({
name: path,
query: obj
});
}
//HTTP提交数据 //HTTP提交数据
Vue.prototype.apipost = function (cmd, msg, successCall, faildCall, isOnline) { Vue.prototype.apipost = function (cmd, msg, successCall, faildCall, isOnline) {
if (msg == null || msg == "") { if (msg == null || msg == "") {
......
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