Commit 938a57cc by lichengming

修改了添加设备

parent 1aabe897
...@@ -204,13 +204,8 @@ export default { ...@@ -204,13 +204,8 @@ export default {
} }
}, },
_ok() { _ok() {
if (this.delIds.length === 0) { this.$emit('on-result-change', this.tempData, { obj: this.tempObj })
this.$Message.warning('请至少选择一条数据!') this._cancel()
this._hideLoading()
} else {
this.$emit('on-result-change', this.tempData, { obj: this.tempObj })
this._cancel()
}
}, },
_cancel() { _cancel() {
this.showModal = false this.showModal = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment