update @修复

This commit is contained in:
huangzhen 2024-09-13 09:24:07 +08:00
parent 1416849fe9
commit 871fa17952
4 changed files with 6 additions and 10 deletions

View File

@ -16,8 +16,7 @@
}
.dialog-text {
height: 55px;
line-height: 55px;
min-height: 55px;
text-align: center;
font-size: 15px;
color: rgb(82, 77, 77);
@ -33,6 +32,6 @@
font-size: 19px;
color: rgb(255, 255, 255);
line-height: 45px;
margin: auto;
margin: 10px auto;
}
}

View File

@ -4,7 +4,7 @@
v-model:show="model"
:width="width"
:height="height"
:style="{ height: height }"
:style="{ minHeight: height }"
:showConfirmButton="false"
v-bind:close="close"
>

View File

@ -73,10 +73,7 @@ router.beforeEach(async (to, from, next) => {
const strP = str[str.length - 1];
localStorage.setItem("key", strP || "");
next({
path: "/home",
query: {
key: strP || "",
}
name: 'home', query: { key: strP }
});
} else {
next();

View File

@ -12,7 +12,7 @@ export default {
name: 'home',
data() {
return {
key: this.$route.query.key || localStorage.getItem("openid") || '',
key: this.$route.query.key || localStorage.getItem("key") || '',
loginBack: this.$route.query.loginBack,
// jumpPath: this.$route.query.jumpPath,
openid: this.$route.query.openid || localStorage.getItem("openid") || '', // id
@ -31,7 +31,7 @@ export default {
if (!this.loginBack) {
sessionStorage.clear();
localStorage.clear();
this.key && localStorage.setItem("token", this.key);
this.key && localStorage.setItem("key", this.key);
this.openid && localStorage.setItem("openid", this.openid);
this.preLogic();
} else {