diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index a0b1ad9fe7..d4e5a700cf 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -236,7 +236,8 @@ export default { 'nowPanelJumpInfo', 'publicLinkStatus', 'previewCanvasScale', - 'mobileLayoutStatus' + 'mobileLayoutStatus', + 'componentData' ]) }, @@ -309,7 +310,8 @@ export default { created() { this.refId = uuid.v1 if (this.element && this.element.propValue && this.element.propValue.viewId) { - this.getData(this.element.propValue.viewId, false) + const hasFilter = this.componentData.filter(item => item.type === 'custom').some(item => item.options.value) + hasFilter || this.getData(this.element.propValue.viewId, false) } }, methods: { diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue index b2d842e3b7..ed0b1fbb1e 100644 --- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue +++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue @@ -17,13 +17,13 @@ {{ $t('commons.all') }} - {{ item.id }} + {{ item.id }}
- + {{ item.id }}