From 4c64588ac85ec6ceff52f6b73a52c99cf0c1d48a Mon Sep 17 00:00:00 2001 From: 刘汉宸 Date: Tue, 4 Aug 2020 15:56:29 +0800 Subject: [PATCH] fix: 修复选择器options --- packages/select/index.vue | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/packages/select/index.vue b/packages/select/index.vue index a54ba9c..57f5b0a 100644 --- a/packages/select/index.vue +++ b/packages/select/index.vue @@ -125,6 +125,11 @@ export default { value(val) { this.model = val; }, + options(val) { + if (val) { + this.optionsCurrent = this.fixOptions(this.optionsCurrent); + } + }, }, computed: { request() { -- libgit2 0.21.0