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

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 => {
next()
})
} else {
// next()
if (!to.query.t) {
next({ ...to, query: { ...to.query, t: Date.now() } })
} else {
next()
}
}
}
} else {
/* has no token*/
if (whiteList.indexOf(to.path) !== -1) {

View File

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