退出登录之后不能导航

This commit is contained in:
2020-10-26 10:54:10 +08:00
parent 718caa7457
commit fa65e674d4
3 changed files with 9 additions and 0 deletions

View File

@@ -270,6 +270,10 @@ export default defineComponent({
*/
async function next(e: number) {
if(!ifagree.value){
message.error("请同意用户协议");
return ;
}
if (stepnow.value > e) {
stepnow.value = e;
return;