fix(测试跟踪): 缺陷编辑远程检索字段设置选项值无效
--bug=1028047 --user=陈建星 【测试跟踪】github #25776 创建缺陷下拉列表字段筛选后不能点击确认 https://www.tapd.cn/55049933/s/1396516
This commit is contained in:
parent
0623b20770
commit
abc8aaf4f8
|
@ -330,7 +330,10 @@ export default {
|
||||||
handleClear() {
|
handleClear() {
|
||||||
if (this.originOptions && this.data.inputSearch) {
|
if (this.originOptions && this.data.inputSearch) {
|
||||||
// 置空搜索时,恢复回原始选项
|
// 置空搜索时,恢复回原始选项
|
||||||
|
// 不设置timeout会再设置选项值之前就清空了
|
||||||
|
setTimeout(() => {
|
||||||
this.data.options = this.originOptions;
|
this.data.options = this.originOptions;
|
||||||
|
}, 200);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
stopLoading() {
|
stopLoading() {
|
||||||
|
|
Loading…
Reference in New Issue