diff --git a/back/src/views/modules/myAgent/ConferenceRoom.vue b/back/src/views/modules/myAgent/ConferenceRoom.vue index 04ef1a59..f730d2a5 100644 --- a/back/src/views/modules/myAgent/ConferenceRoom.vue +++ b/back/src/views/modules/myAgent/ConferenceRoom.vue @@ -318,6 +318,9 @@ export default { onRemove (file, fileList) { this.$nextTick(() => { if (fileList.length == 0) { + this.ruleForm.pic =null + this.fileList = [] + this.picImg ='' this.checkImgSuccess = false // 检查图片是否加载成功 // this.$refs.ruleForm.validate() //删除图片,重新触发校验 } @@ -358,7 +361,7 @@ export default { this.$http.get(`/meeting/${row.id}`).then(({ data: res }) => { this.dialogFormVisible = true this.ruleForm = res.data - if (res.data.pic != null) { + if (res.data.pic != null && res.data.pic != '') { // let imgUrl = { name: res.data.name, url: res.data.pic } // this.fileList.push(imgUrl) this.picImg = res.data.pic