提交 be4bc2b8 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--app-picker

修复数据选择控件,输入值不在影响绑定的值,只有选择选项才会改变绑定的值。
上级 eb476c72
......@@ -287,11 +287,7 @@ export default class AppPicker extends Vue {
* @param e
*/
public onBlur(e: any): void {
let val: string = e.target.value;
if (!Object.is(val, this.curvalue)) {
this.onACSelect({ text: val, value: '' });
}
this.$forceUpdate();
this.curvalue = this.value;
}
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册