diff --git a/components/diy/custom.vue b/components/diy/custom.vue index fc81dc56..95bec99f 100644 --- a/components/diy/custom.vue +++ b/components/diy/custom.vue @@ -300,7 +300,7 @@ } } } - app.globalData.url_event(e); + app.globalData.url_open(e); }, }, }; diff --git a/components/diy/modules/custom/model-icon.vue b/components/diy/modules/custom/model-icon.vue index 1bc11de2..930bb2f9 100644 --- a/components/diy/modules/custom/model-icon.vue +++ b/components/diy/modules/custom/model-icon.vue @@ -124,7 +124,7 @@ return style; }, url_event(e) { - this.$emit('url_event', e) + this.$emit('url_event', this.icon_url); }, }, }; diff --git a/components/diy/modules/custom/model-image.vue b/components/diy/modules/custom/model-image.vue index 3f276034..4e148d2b 100644 --- a/components/diy/modules/custom/model-image.vue +++ b/components/diy/modules/custom/model-image.vue @@ -138,7 +138,7 @@ return style; }, url_event(e) { - this.$emit('url_event', e); + this.$emit('url_event', this.img_url); }, }, }; diff --git a/components/diy/modules/custom/model-panel.vue b/components/diy/modules/custom/model-panel.vue index 2bad0fba..6a73d250 100644 --- a/components/diy/modules/custom/model-panel.vue +++ b/components/diy/modules/custom/model-panel.vue @@ -81,7 +81,7 @@ return background_computer(data); }, url_event(e) { - this.$emit('url_event', e); + this.$emit('url_event', this.panel_url); }, }, }; diff --git a/components/diy/modules/custom/model-text.vue b/components/diy/modules/custom/model-text.vue index b7839515..9f28b00e 100644 --- a/components/diy/modules/custom/model-text.vue +++ b/components/diy/modules/custom/model-text.vue @@ -156,7 +156,7 @@ return style; }, url_event(e) { - this.$emit('url_event', e) + this.$emit('url_event', this.text_url) }, }, }; diff --git a/components/diy/modules/data-magic/custom/index.vue b/components/diy/modules/data-magic/custom/index.vue index f70e7ca3..0ac46d1d 100644 --- a/components/diy/modules/data-magic/custom/index.vue +++ b/components/diy/modules/data-magic/custom/index.vue @@ -263,7 +263,7 @@ export default { } } } - app.globalData.url_event(e); + app.globalData.url_open(e); }, }, };