代码调整

This commit is contained in:
joylink_cuiweidong 2021-05-17 19:07:24 +08:00
parent 6a07a81233
commit 1ca70a08b8

View File

@ -182,12 +182,12 @@ export default {
deviceIds:this.formModel.deviceIds deviceIds:this.formModel.deviceIds
}; };
bindUploadFile(data).then((res) => { bindUploadFile(data).then((res) => {
self.$message.success('绑定成功'); this.$message.success('绑定成功');
self.close(); this.close();
self.$emit('reloadTable'); this.$emit('reloadTable');
}).catch(error => { }).catch(error => {
console.log(error); console.log(error);
self.$message.error(`绑定失败:${error.message}`); this.$message.error(`绑定失败:${error.message}`);
}); });
} else { } else {
return false; return false;