mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 19:33:11 +08:00
fix(数据集): 【权限】数据集编辑可以通过拼接 url 访问
This commit is contained in:
committed by
fit2cloud-chenyw
parent
06d51b6d62
commit
c2a99b3f92
@@ -77,7 +77,7 @@ export const usePermissionStoreWithOut = () => {
|
||||
}
|
||||
|
||||
export const pathValid = path => {
|
||||
if (path === '/dataset-form') {
|
||||
if (path?.startsWith('/dataset-form')) {
|
||||
path = '/data/dataset'
|
||||
}
|
||||
const permissionStore = usePermissionStore(store)
|
||||
|
||||
Reference in New Issue
Block a user