代码调整
This commit is contained in:
parent
6a07a81233
commit
1ca70a08b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user