时间戳路由,红色审核拒绝

This commit is contained in:
faiz 2024-11-26 16:58:56 +08:00
parent bcacd0dd97
commit ca29f961a3
2 changed files with 8 additions and 3 deletions

View File

@ -79,10 +79,15 @@ router.beforeEach(async (to, from, next) => {
}).catch(res => { }).catch(res => {
next() next()
}) })
} else {
// next()
if (!to.query.t) {
next({ ...to, query: { ...to.query, t: Date.now() } })
} else { } else {
next() next()
} }
} }
}
} else { } else {
/* has no token*/ /* has no token*/
if (whiteList.indexOf(to.path) !== -1) { if (whiteList.indexOf(to.path) !== -1) {

View File

@ -477,8 +477,8 @@
<label class="name">创建时间</label <label class="name">创建时间</label
>{{ formValidate.create_time }} >{{ formValidate.create_time }}
</div> </div>
<div class="list sp" v-if="formValidate.refusal"> <div style="color: red" class="list sp" v-if="formValidate.refusal">
<label class="name">审核拒绝原因</label <label style="color: red" class="name">审核拒绝原因</label
>{{ formValidate.refusal }} >{{ formValidate.refusal }}
</div> </div>
</div> </div>