fix(系统设置): 添加成员时输入信息过滤后使选择器失焦后再次打开无选项数据

--bug=1013908 --user=李玉号 【系统设置】工作空间-成员-添加成员-输入成员名称不存在鼠标点击空白处后名称消失-提示暂无数据
https://www.tapd.cn/55049933/s/1179662
This commit is contained in:
shiziyuan9527 2022-06-13 11:30:13 +08:00 committed by f2c-ci-robot[bot]
parent f7a97a78e0
commit 0ba31e7696
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,7 @@
v-model="form.userIds"
multiple
filterable
@visible-change="visibleChange"
:filter-method="userFilter"
:popper-append-to-body="false"
class="member_select"
@ -89,6 +90,11 @@ export default {
}
},
methods: {
visibleChange(val) {
if (!val) {
this.userFilter(null);
}
},
submitForm() {
this.$refs['form'].validate((valid) => {
if (valid) {