代码调整

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
};
bindUploadFile(data).then((res) => {
self.$message.success('绑定成功');
self.close();
self.$emit('reloadTable');
this.$message.success('绑定成功');
this.close();
this.$emit('reloadTable');
}).catch(error => {
console.log(error);
self.$message.error(`绑定失败:${error.message}`);
this.$message.error(`绑定失败:${error.message}`);
});
} else {
return false;