Skip to content

Commit 2950f2b

Browse files
lianghx-319levy9527
authored andcommitted
fix: when reset value, the options will reset now
Closes #8
1 parent 03105af commit 2950f2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/el-select-area.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ export default {
204204
let columnNum = AREA[type].index
205205
this.$set(this.values, columnNum, {code: '', name: '', type: type})
206206
this.$set(this.indexs, columnNum, '')
207+
columnNum > 0 && this.$set(this.columns, columnNum, {})
207208
},
208209
// 兼容旧的输出
209210
emitEvent() {

0 commit comments

Comments
 (0)