src/views/login.vue
@@ -78,6 +78,7 @@ username: "", password: "", mobile: false, hospId:"", // username:"13800138008", // password:"888888", rememberMe: false, @@ -136,6 +137,7 @@ created() { this.getstate(); this.getCookie(); this.loadAll(); }, methods: { getstate() { @@ -149,6 +151,10 @@ }) }, loadAll(){ this.loginForm.hospId = this.$route.query.hospId Cookies.set("hospId", this.loginForm.hospId); }, hide() { // this.loginForm.username = "10001";