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