手机端-国内/海外/企标-标准体系可不选择

This commit is contained in:
zyn
2023-09-14 10:54:41 +08:00
parent 035464f391
commit 44bb5f51d1
@@ -51,22 +51,22 @@ export default {
this.checkedKeys = val
},
handleOk () {
if (this.checkedKeys.length > 0) {
// if (this.checkedKeys.length > 0) {
this.popupShow = false
this.$emit('standSystemKeys', this.checkedKeys)
} else {
// this.$toast('请至少选择一项');
this.$message.error('请至少选择一项')
this.popupShow = true
}
// } else {
// // this.$toast('请至少选择一项');
// this.$message.error('请至少选择一项')
// this.popupShow = true
// }
},
handleCancel () {
if (this.initKeys.length > 0) {
// if (this.initKeys.length > 0) {
this.hide()
} else {
this.$message.error('请至少选择一项')
this.open()
}
// } else {
// this.$message.error('请至少选择一项')
// this.open()
// }
},
}
}