From 81b39a2f9b00ab6be4b2075a28ef5f1f8e497da8 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期二, 08 九月 2020 14:48:50 +0800
Subject: [PATCH] 取消摄像机树的锁定按钮, 修复检索便签选择请求两次的bug

---
 src/components/subComponents/FileUpload/index.vue |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/components/subComponents/FileUpload/index.vue b/src/components/subComponents/FileUpload/index.vue
index b5ff901..685fd8e 100644
--- a/src/components/subComponents/FileUpload/index.vue
+++ b/src/components/subComponents/FileUpload/index.vue
@@ -157,6 +157,15 @@
       //     }
       //   })
       // }
+      //灏嗚嚜瀹氫箟鍙傛暟鐩存帴鍔犺浇uploader瀹炰緥鐨刼pts涓�
+      if (location.href.indexOf("dataStack") >= 0) {
+        Object.assign(this.uploader.opts, {
+          query: {
+            stackId: this.DataStackPool.selectedDir.id
+            // ...this.params,
+          }
+        })
+      }
       file.uniqueIdentifier = md5;
       file.resume();
       this.statusText.paused = "鏆傚仠涓�";

--
Gitblit v1.8.0