|
@@ -18,7 +18,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
created() {
|
|
created() {
|
|
- console.log('app')
|
|
|
|
|
|
+ console.log("app");
|
|
const username = getUrlKey("username");
|
|
const username = getUrlKey("username");
|
|
const password = getUrlKey("password");
|
|
const password = getUrlKey("password");
|
|
this.getDictAll();
|
|
this.getDictAll();
|
|
@@ -29,7 +29,7 @@ export default {
|
|
this.login(username, password);
|
|
this.login(username, password);
|
|
} else {
|
|
} else {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- window.location.href = "/#/login";
|
|
|
|
|
|
+ this.$router.push({ path: "/login" });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -83,7 +83,7 @@ export default {
|
|
tenantName:
|
|
tenantName:
|
|
res.data.roleCodes[0] == "Tenant" ? res.data.tenantName : "",
|
|
res.data.roleCodes[0] == "Tenant" ? res.data.tenantName : "",
|
|
});
|
|
});
|
|
- this.$router.push({path:'/home'})
|
|
|
|
|
|
+ this.$router.push({ path: "/home" });
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -147,7 +147,7 @@ body {
|
|
.van-dropdown-menu__bar {
|
|
.van-dropdown-menu__bar {
|
|
--van-dropdown-menu-box-shadow: 0;
|
|
--van-dropdown-menu-box-shadow: 0;
|
|
}
|
|
}
|
|
-.van-divider{
|
|
|
|
|
|
+.van-divider {
|
|
border-color: #d8d8d8;
|
|
border-color: #d8d8d8;
|
|
}
|
|
}
|
|
:root {
|
|
:root {
|