1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-28 20:10:22 +08:00

style: lint

This commit is contained in:
zclzone
2024-06-06 18:05:36 +08:00
parent 98f9d5893a
commit a67510fe34
72 changed files with 542 additions and 389 deletions

View File

@@ -20,7 +20,9 @@
<n-button v-if="back" type="primary" ghost @click="router.replace(back)">
返回上一页
</n-button>
<n-button type="primary" class="ml-20" @click="router.replace('/')">返回首页</n-button>
<n-button type="primary" class="ml-20" @click="router.replace('/')">
返回首页
</n-button>
</template>
</n-result>
</div>
@@ -35,7 +37,8 @@ const back = history.state.back
if (history.state.from === 'permission-guard') {
delete history.state.from
} else if (route.query.path) {
}
else if (route.query.path) {
router.replace(route.query.path)
}
</script>