mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 11:21:44 +08:00
fix(仪表板): 嵌入式场景复制仪表板报错没有权限
This commit is contained in:
committed by
fit2cloud-chenyw
parent
06813a2a9c
commit
3cce2faff6
@@ -236,7 +236,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