This commit is contained in:
X1627315083
2024-04-19 13:09:14 +08:00
parent d560c5ab09
commit 727968548b
4 changed files with 3 additions and 4 deletions

View File

@@ -666,7 +666,6 @@ export default defineComponent({
display: flex; display: flex;
flex: 1; flex: 1;
flex-direction: column; flex-direction: column;
overflow-x: hidden;
.modal_text{ .modal_text{
padding-top: calc(2rem*1.2); padding-top: calc(2rem*1.2);
padding-block: calc(2rem*1.2); padding-block: calc(2rem*1.2);

View File

@@ -358,7 +358,7 @@ export default defineComponent({
this.robotInput = false this.robotInput = false
}else{ }else{
// window.location.reload() // window.location.reload()
this.$router.push("/home"); this.$router.push({ name: 'homePage' });
setTimeout(() => { setTimeout(() => {
this.$router.go(0); this.$router.go(0);
}, 500); }, 500);

View File

@@ -157,7 +157,7 @@ router.beforeEach((to, from, next) => {
if (isMurmur && murmurStr && token) { if (isMurmur && murmurStr && token) {
const toName = to.name === 'login'; const toName = to.name === 'login';
if (toName) { if (toName) {
next({ name: 'homePage' }); next({ name: '/homePage' });
} else { } else {
next(); next();
} }

View File

@@ -1153,7 +1153,7 @@ export default defineComponent({
this.setGenerate() this.setGenerate()
this.remGenerateTime = setTimeout(()=>{ this.remGenerateTime = setTimeout(()=>{
this.remGenerate = true this.remGenerate = true
},1000) },10000)
} }
).catch(res=>{ ).catch(res=>{
this.isShowMark = false this.isShowMark = false