提交 ae31da05 编写于 作者: tony001's avatar tony001

修复数据选择无值抛出null

上级 00446047
...@@ -456,10 +456,10 @@ export default class AppPicker extends Vue { ...@@ -456,10 +456,10 @@ export default class AppPicker extends Vue {
*/ */
public onClear($event: any): void { public onClear($event: any): void {
if (this.valueitem) { if (this.valueitem) {
this.$emit('formitemvaluechange', { name: this.valueitem, value: '' }); this.$emit('formitemvaluechange', { name: this.valueitem, value: null });
} }
if (this.name) { if (this.name) {
this.$emit('formitemvaluechange', { name: this.name, value: '' }); this.$emit('formitemvaluechange', { name: this.name, value: null });
} }
this.fillPickUpData(); this.fillPickUpData();
this.$forceUpdate(); this.$forceUpdate();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册