diff --git a/components/diy/diy.vue b/components/diy/diy.vue
index e78e6513..e674dfcd 100644
--- a/components/diy/diy.vue
+++ b/components/diy/diy.vue
@@ -210,7 +210,7 @@
footer_height_value: 0,
};
},
- created() {
+ created() {
// 初始化配置
this.init_config();
diff --git a/components/diy/header.vue b/components/diy/header.vue
index 203fb985..26d0c735 100644
--- a/components/diy/header.vue
+++ b/components/diy/header.vue
@@ -42,7 +42,7 @@
-
+
diff --git a/components/diy/modules/custom/model-icon.vue b/components/diy/modules/custom/model-icon.vue
index 28961bd1..9505418f 100644
--- a/components/diy/modules/custom/model-icon.vue
+++ b/components/diy/modules/custom/model-icon.vue
@@ -16,7 +16,7 @@
required: true,
},
propSourceList: {
- type: Object,
+ type: [ Object, Array ],
default: () => {
return {};
},
diff --git a/components/diy/modules/custom/model-image.vue b/components/diy/modules/custom/model-image.vue
index 379792cd..7808f447 100644
--- a/components/diy/modules/custom/model-image.vue
+++ b/components/diy/modules/custom/model-image.vue
@@ -19,7 +19,7 @@
required: true,
},
propSourceList: {
- type: Object,
+ type: [ Object, Array ],
default: () => {
return {};
},
diff --git a/components/diy/modules/custom/model-text.vue b/components/diy/modules/custom/model-text.vue
index 87e3a047..7cc1d331 100644
--- a/components/diy/modules/custom/model-text.vue
+++ b/components/diy/modules/custom/model-text.vue
@@ -23,7 +23,7 @@
required: true,
},
propSourceList: {
- type: Object,
+ type: [ Object, Array ],
default: () => {
return {};
},
diff --git a/components/diy/search.vue b/components/diy/search.vue
index d9b37d6e..4f81009e 100644
--- a/components/diy/search.vue
+++ b/components/diy/search.vue
@@ -54,7 +54,7 @@
-
+
@@ -180,9 +180,11 @@
})
},
search_icon_tap() {
- if (!isEmpty(this.form.icon_src)) {
- app.globalData.url_open(this.form.icon_src.page);
+ if (isEmpty(this.form.icon_src)) {
+ this.search_tap();
+ return;
}
+ app.globalData.url_open(this.form.icon_src.page);
},
url_event() {
if (!isEmpty(this.search_content)) {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 0ac07ae2..371594c7 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -3,7 +3,7 @@
-
+
@@ -402,6 +402,8 @@
plugins_binding_data: null,
// 魔方插件
plugins_magic_data: null,
+ // 更新组件
+ hackReset: true,
};
},
@@ -437,7 +439,14 @@
onShow() {
// 调用公共事件方法
app.globalData.page_event_onshow_handle();
-
+ this.setData({
+ hackReset: false,
+ });
+ this.$nextTick(() => {
+ this.setData({
+ hackReset: true,
+ });
+ });
// 数据加载
this.init();