diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue index 5a66ed6150..623e92189c 100644 --- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue +++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue @@ -40,6 +40,7 @@ import { multFieldValues, linkMultFieldValues } from '@/api/dataset/dataset' import { getLinkToken, getToken } from '@/utils/auth' import bus from '@/utils/bus' +import { isSameVueObj } from '@/utils' import { attrsMap, styleAttrs, textSelectGridWidget } from '@/components/widget/DeWidget/serviceNameFn.js' export default { @@ -144,7 +145,7 @@ export default { }) || (this.element.options.value = '') }, 'element.options.attrs.multiple': function(value, old) { - if (typeof old === 'undefined' || value === old) return + if (typeof old === 'undefined' || value === old || isSameVueObj(value, old)) return if (!this.inDraw) { this.value = value ? [] : null this.element.options.value = '' diff --git a/frontend/src/components/widget/DeWidget/DeSelectTree.vue b/frontend/src/components/widget/DeWidget/DeSelectTree.vue index 6907204013..9b65c5dc8a 100644 --- a/frontend/src/components/widget/DeWidget/DeSelectTree.vue +++ b/frontend/src/components/widget/DeWidget/DeSelectTree.vue @@ -24,6 +24,7 @@