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
06be24e85d
commit
4811bd6f3e
@@ -396,7 +396,8 @@ onMounted(async () => {
|
||||
embeddedStore.templateParams || router.currentRoute.value.query.templateParams
|
||||
createType = embeddedStore.createType || router.currentRoute.value.query.createType
|
||||
const opt = embeddedStore.opt || router.currentRoute.value.query.opt
|
||||
const checkResult = await checkPer(dvId)
|
||||
const checkDvId = opt && opt === 'copy' ? null : dvId
|
||||
const checkResult = await checkPer(checkDvId)
|
||||
if (!checkResult) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user