diff --git a/frontend/src/components/widget/DeWidget/DeDate.vue b/frontend/src/components/widget/DeWidget/DeDate.vue index 715ff92c81..d7d8686baa 100644 --- a/frontend/src/components/widget/DeWidget/DeDate.vue +++ b/frontend/src/components/widget/DeWidget/DeDate.vue @@ -158,7 +158,6 @@ export default { this.element.options.manualModify = true } this.setCondition() - this.styleChange() }, formatFilterValue() { if (this.values === null) return [] @@ -184,9 +183,6 @@ export default { return timeSection(parseFloat(value), this.element.options.attrs.type) } }, - styleChange() { - this.$store.commit('recordStyleChange') - }, fillValueDerfault() { const defaultV = this.element.options.value === null ? '' : this.element.options.value.toString() if (this.element.options.attrs.type === 'daterange') { diff --git a/frontend/src/components/widget/DeWidget/DeNumberRange.vue b/frontend/src/components/widget/DeWidget/DeNumberRange.vue index 8def85aeaf..c98a430b30 100644 --- a/frontend/src/components/widget/DeWidget/DeNumberRange.vue +++ b/frontend/src/components/widget/DeWidget/DeNumberRange.vue @@ -185,7 +185,6 @@ export default { } this.setCondition() - this.$store.commit('recordStyleChange') }) }) }, @@ -219,9 +218,6 @@ export default { return } }, - styleChange() { - this.$store.commit('recordStyleChange') - }, inputChange(val) { if (!this.inDraw) { diff --git a/frontend/src/components/widget/DeWidget/DeSelect.vue b/frontend/src/components/widget/DeWidget/DeSelect.vue index 731c4fdb02..ef50d62164 100644 --- a/frontend/src/components/widget/DeWidget/DeSelect.vue +++ b/frontend/src/components/widget/DeWidget/DeSelect.vue @@ -168,7 +168,6 @@ export default { this.element.options.manualModify = true } this.setCondition() - this.styleChange() this.showNumber = false this.$nextTick(() => { @@ -207,9 +206,6 @@ export default { return defaultV.split(',')[0] } }, - styleChange() { - this.$store.commit('recordStyleChange') - }, optionDatas(datas) { if (!datas) return null return datas.filter(item => !!item).map(item => { diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue index 2fa8a45e49..84c284d693 100644 --- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue +++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue @@ -196,7 +196,6 @@ export default { this.element.options.manualModify = true } this.setCondition() - this.styleChange() }, setCondition() { @@ -222,10 +221,6 @@ export default { return defaultV.split(',')[0] } }, - - styleChange() { - this.$store.commit('recordStyleChange') - }, optionDatas(datas) { if (!datas) return null return datas.filter(item => !!item).map(item => {