Commit 4c64588ac85ec6ceff52f6b73a52c99cf0c1d48a

Authored by 刘汉宸
1 parent 85ba6def

fix: 修复选择器options

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
packages/select/index.vue
@@ -125,6 +125,11 @@ export default { @@ -125,6 +125,11 @@ export default {
125 value(val) { 125 value(val) {
126 this.model = val; 126 this.model = val;
127 }, 127 },
  128 + options(val) {
  129 + if (val) {
  130 + this.optionsCurrent = this.fixOptions(this.optionsCurrent);
  131 + }
  132 + },
128 }, 133 },
129 computed: { 134 computed: {
130 request() { 135 request() {