diff --git a/frontend/admin/src/diy/components/hotpotModal/index.vue b/frontend/admin/src/diy/components/hotpotModal/index.vue index 138f2dedd..492cedd60 100644 --- a/frontend/admin/src/diy/components/hotpotModal/index.vue +++ b/frontend/admin/src/diy/components/hotpotModal/index.vue @@ -285,6 +285,8 @@ function linkUrl(e) { // 将链接地址存储到对应的数据项中 areaData.value[itemIndex.value].link = e; } +// script setup 默认封闭,父组件通过模板 ref 驱动 dialogVisible,必须显式暴露 +defineExpose({ dialogVisible });