bug 自定义比对的校验

This commit is contained in:
赵霄
2023-11-15 10:34:28 +08:00
parent 2b5a19aaa7
commit df4ea0853a
@@ -41,11 +41,21 @@ export default {
type: Boolean,
required: false,
default: false
},
// 自定义点击标准选择按钮的事件
customClickFunc: {
type: Function
}
},
methods: {
// 点击选择标准按钮
standardClick () {
if (this.customClickFunc && typeof this.customClickFunc === 'function') {
this.customClickFunc(() => {
this.$refs.standardSelectionModal.open()
})
return
}
this.$refs.standardSelectionModal.open()
},
// 输入框输入监听