From 6cfea3a4c95aa6ff6629f6a873483a76d6a7b8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 24 Oct 2024 18:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B2=89=E6=B5=B8=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E7=82=B9=E5=87=BB=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/layout/components/main/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/layout/components/main/index.vue b/src/views/layout/components/main/index.vue index 05ffddde..cd0654d6 100644 --- a/src/views/layout/components/main/index.vue +++ b/src/views/layout/components/main/index.vue @@ -256,7 +256,7 @@ const show_model_border = ref(true); const draggable_click = (item: componentsData) => { const type_data = ['tabs', 'tabs-carousel']; - if (common_store.is_immersion_model) { + if (type_data.includes(item.key) && common_store.is_immersion_model) { ElMessage.error('开启沉浸样式下不可以添加该组件'); return; }