mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(仪表板): 嵌入式场景复制仪表板报错没有权限
This commit is contained in:
committed by
fit2cloud-chenyw
parent
46768fd7ea
commit
91610e51af
@@ -205,7 +205,8 @@ onMounted(async () => {
|
||||
const createType = embeddedStore.createType || router.currentRoute.value.query.createType
|
||||
const templateParams =
|
||||
embeddedStore.templateParams || router.currentRoute.value.query.templateParams
|
||||
const checkResult = await checkPer(resourceId)
|
||||
const checkResourceId = opt && opt === 'copy' ? null : resourceId
|
||||
const checkResult = await checkPer(checkResourceId as string)
|
||||
if (!checkResult) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user