scorpio 2 лет назад
Родитель
Сommit
52dab4a1eb
1 измененных файлов с 4 добавлено и 1 удалено
  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) {