diff --git a/src/views/uploadPdf/bindMapInfo.vue b/src/views/uploadPdf/bindMapInfo.vue index eb4469153..78579bb14 100644 --- a/src/views/uploadPdf/bindMapInfo.vue +++ b/src/views/uploadPdf/bindMapInfo.vue @@ -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;