From 21ff7e84c381dbcb2d57c1401ad999638a6d80a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 28 Apr 2025 10:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E7=BB=84=E7=9A=84=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 ++-- pages/diy/components/diy/custom.vue | 7 +++++++ pages/diy/components/diy/data-tabs.vue | 7 +++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/App.vue b/App.vue index 6b5d68b1..d63103f3 100644 --- a/App.vue +++ b/App.vue @@ -7,10 +7,10 @@ data: { // 基础配置 // 数据接口请求地址 - request_url:'http://shopxo.com/', + request_url:'https://d1.shopxo.vip/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - static_url:'http://shopxo.com/', + static_url:'https://d1.shopxo.vip/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/pages/diy/components/diy/custom.vue b/pages/diy/components/diy/custom.vue index c135f5fe..5ecd48ba 100644 --- a/pages/diy/components/diy/custom.vue +++ b/pages/diy/components/diy/custom.vue @@ -95,6 +95,10 @@ type: [String, Number], default: '', }, + propTabsDataType: { + type: String, + default: 'custom', + }, // 组件渲染的下标 propIndex: { type: Number, @@ -184,6 +188,9 @@ percentage_count, isEmpty, init() { + if (this.propTabsDataType !== 'custom') { + return; + } const new_form = this.propValue.content; const new_style = this.propValue.style; // 不包含新创建的数组时,将历史数据放到手动添加数组中 diff --git a/pages/diy/components/diy/data-tabs.vue b/pages/diy/components/diy/data-tabs.vue index 76f02cd9..edf53101 100644 --- a/pages/diy/components/diy/data-tabs.vue +++ b/pages/diy/components/diy/data-tabs.vue @@ -19,8 +19,8 @@ -