From 1e84774c0c0752c61e60592e7f7fc1c0d25a1dab Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期二, 27 十月 2020 16:38:48 +0800
Subject: [PATCH] 首页加入算法

---
 src/components/subComponents/FileUpload/btn.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/components/subComponents/FileUpload/btn.vue b/src/components/subComponents/FileUpload/btn.vue
index 45248b8..d624a23 100644
--- a/src/components/subComponents/FileUpload/btn.vue
+++ b/src/components/subComponents/FileUpload/btn.vue
@@ -26,22 +26,22 @@
       default() {
         return {}
       }
-    }
+    },
+
   },
-  watch:{
-    attrs:{
-      handler(n,o){
-        debugger
-        this.$nextTick(()=>{
+  watch: {
+    attrs: {
+      handler(n, o) {
+        //this.$nextTick(() => {
           this.uploader.uploader.assignBrowse(this.$refs.btn, this.directory, this.single, n)
-        })
+        //})
       },
       deep: true
     }
   },
   mounted() {
     this.$nextTick(() => {
-      console.log('attrs',this.attrs)
+      console.log('attrs', this.attrs)
       this.uploader.uploader.assignBrowse(this.$refs.btn, this.directory, this.single, this.attrs)
     })
   }

--
Gitblit v1.8.0