scorpio 2 gadi atpakaļ
vecāks
revīzija
52dab4a1eb
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  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) {