fix(custom):
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-17 20:09:38 +08:00
parent ca4ec000f6
commit 587b11e1ec
5 changed files with 8 additions and 3 deletions

View File

@@ -122,6 +122,7 @@ export const usePermissionStore = defineStore('permission', {
generateRoutes() {
const menus = JSON.parse(localStorage.getItem('menu'))
const accessRoutes = filterAsyncRoutes(menus)
// console.log(accessRoutes)
window.localStorage.setItem('roles', JSON.stringify(findType3Routes(menus)))
this.accessRoutes = accessRoutes
return accessRoutes

View File

@@ -41,6 +41,7 @@
:pagination="pagination"
:bordered="false"
:row-key="(row) => row.gid"
:checked-row-keys="queryParams.checkedRowKeysRef"
remote
@update:checked-row-keys="handleCheck"
/>
@@ -525,6 +526,8 @@ const clear = () => {
isDzModel.value = false
notesVal.value = ''
nowRow.value = {}
queryParams.value.word = ''
getList()
}
const veeify = async () => {

View File

@@ -5,7 +5,7 @@
<img src="@/assets/images/404.webp" width="500" />
</template>
<template #footer>
<n-button @click="replace('/')">返回首页</n-button>
<n-button @click="replace('/workbench')">返回首页</n-button>
</template>
</n-result>
</AppPage>

View File

@@ -114,7 +114,7 @@ async function handleLogin() {
Reflect.deleteProperty(query, 'redirect')
router.push({ path, query })
} else {
router.push('/')
router.push('/workbench')
}
} catch (error) {
$message.removeMessage()

View File

@@ -101,6 +101,7 @@
:pagination="pagination"
:bordered="false"
:row-key="rowKey"
:checked-row-keys="checkedRowKeysRef"
remote
@update:checked-row-keys="handleCheck"
/>
@@ -425,6 +426,7 @@ const handleclear = () => {
pulse: null,
activate_status: 2,
}
checkedRowKeysRef.value = []
}
const modalType = ref(null)
@@ -458,7 +460,6 @@ const handleValidateClick = (e) => {
...formValue.value,
})
}
$message.success('成功')
handleclear()
getList()
} catch (error) {