浏览代码

Merge remote-tracking branch 'origin/master_tuzuo' into master_tuzuo

lyq 7 月之前
父节点
当前提交
2a3fad6361
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      data-ui/src/views/data/digitalforest/plant/index.vue

+ 10 - 0
data-ui/src/views/data/digitalforest/plant/index.vue

@@ -278,6 +278,16 @@ export default {
         })
       })
     },
+
+    removeImage(value) {
+      if (value) {
+        this.form.attachId = this.form.attachId.replace(this.form.attachId.indexOf(',' + value) == -1 ? value + ',' : ',' + value, '')
+      }
+
+    },
+    getUrl(url) {
+      this.form.attachId = url;
+    },
     send(val) {
       debugger
       if (val===true){