fix(数据集): 【权限】数据集编辑可以通过拼接 url 访问

This commit is contained in:
fit2cloud-chenyw
2025-09-10 12:07:19 +08:00
committed by fit2cloud-chenyw
parent 7d72c6b607
commit 2b5a11c3a2

View File

@@ -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)