fix(大屏): 嵌入式场景复制大屏报错没有权限

This commit is contained in:
fit2cloud-chenyw
2025-11-18 20:00:44 +08:00
committed by fit2cloud-chenyw
parent 06be24e85d
commit 4811bd6f3e

View File

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