fix(系统设置): 添加成员时输入信息过滤后使选择器失焦后再次打开无选项数据
--bug=1013908 --user=李玉号 【系统设置】工作空间-成员-添加成员-输入成员名称不存在鼠标点击空白处后名称消失-提示暂无数据 https://www.tapd.cn/55049933/s/1179662
This commit is contained in:
parent
f7a97a78e0
commit
0ba31e7696
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue