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