scorpio %!s(int64=2) %!d(string=hai) anos
pai
achega
52dab4a1eb
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/components/filepicker/index.vue

+ 4 - 1
src/components/filepicker/index.vue

@@ -351,7 +351,10 @@ export default {
       this.selectedList = list
     },
     rowClick(res) {
-      this.currentRow = res
+      if (res.type === 2) {
+        this.currentRow = res
+      }
+      console.log(this.currentRow)
       const tmp = this.list.find(ele => ele.id === res.id)
       this.parentId = tmp.id
       if (tmp && tmp.type !== 2) {