mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(数据集): 【权限】数据集编辑可以通过拼接 url 访问
This commit is contained in:
committed by
fit2cloud-chenyw
parent
7ba85871a0
commit
7d72c6b607
@@ -77,6 +77,9 @@ export const usePermissionStoreWithOut = () => {
|
||||
}
|
||||
|
||||
export const pathValid = path => {
|
||||
if (path === '/dataset-form') {
|
||||
path = '/data/dataset'
|
||||
}
|
||||
const permissionStore = usePermissionStore(store)
|
||||
const routers = permissionStore.getRouters
|
||||
const temp = path.startsWith('/') ? path.substr(1) : path
|
||||
|
||||
Reference in New Issue
Block a user