diff --git a/src/views/modules/communityService/shzz/cpts/edit.vue b/src/views/modules/communityService/shzz/cpts/edit.vue index 993ca6ab8..92802a0ba 100644 --- a/src/views/modules/communityService/shzz/cpts/edit.vue +++ b/src/views/modules/communityService/shzz/cpts/edit.vue @@ -402,12 +402,14 @@ export default { this.uploading = false this.unloadPencent = 0 this.dataForm.imageList.push(res.data.url) + console.log('handleImgSuccess after',this.dataForm.imageList) } else { this.$message.error(res.msg) } }, handleDelimg(item, index) { this.dataForm.imageList.splice(index, 1) + console.log('handleDelimg after',this.dataForm.imageList) }, handleMoveCenter() { //修改地图中心点 diff --git a/src/views/modules/communityService/shzz/index.vue b/src/views/modules/communityService/shzz/index.vue index a21c87ebb..0b2d8729d 100644 --- a/src/views/modules/communityService/shzz/index.vue +++ b/src/views/modules/communityService/shzz/index.vue @@ -2,7 +2,7 @@
- + @@ -14,7 +14,7 @@ 查询 - 重置 + 重置
@@ -349,7 +349,10 @@ export default { this.pageNo = 1; this.getTableData(); }, - + resetForm(formName) { + this.$refs[formName].resetFields() + this.handleSearch() + }, async handleAdd() { this.formShow = true; await nextTick();