手机端-国内/海外/企标-标准体系可不选择
This commit is contained in:
@@ -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()
|
||||
// }
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user