手机端-国内/海外/企标-标准体系可不选择
This commit is contained in:
@@ -51,22 +51,22 @@ export default {
|
|||||||
this.checkedKeys = val
|
this.checkedKeys = val
|
||||||
},
|
},
|
||||||
handleOk () {
|
handleOk () {
|
||||||
if (this.checkedKeys.length > 0) {
|
// if (this.checkedKeys.length > 0) {
|
||||||
this.popupShow = false
|
this.popupShow = false
|
||||||
this.$emit('standSystemKeys', this.checkedKeys)
|
this.$emit('standSystemKeys', this.checkedKeys)
|
||||||
} else {
|
// } else {
|
||||||
// this.$toast('请至少选择一项');
|
// // this.$toast('请至少选择一项');
|
||||||
this.$message.error('请至少选择一项')
|
// this.$message.error('请至少选择一项')
|
||||||
this.popupShow = true
|
// this.popupShow = true
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
handleCancel () {
|
handleCancel () {
|
||||||
if (this.initKeys.length > 0) {
|
// if (this.initKeys.length > 0) {
|
||||||
this.hide()
|
this.hide()
|
||||||
} else {
|
// } else {
|
||||||
this.$message.error('请至少选择一项')
|
// this.$message.error('请至少选择一项')
|
||||||
this.open()
|
// this.open()
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user