Commit 938a57cc by lichengming

修改了添加设备

parent 1aabe897
......@@ -204,13 +204,8 @@ export default {
}
},
_ok() {
if (this.delIds.length === 0) {
this.$Message.warning('请至少选择一条数据!')
this._hideLoading()
} else {
this.$emit('on-result-change', this.tempData, { obj: this.tempObj })
this._cancel()
}
this.$emit('on-result-change', this.tempData, { obj: this.tempObj })
this._cancel()
},
_cancel() {
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