scorpio 2 년 전
부모
커밋
4255fa59f2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/task/detail.vue

+ 2 - 2
src/views/task/detail.vue

@@ -200,7 +200,7 @@ export default {
     },
     rowDetail (row, index) {
       if (row.type === 2) {
-        const data = { folderId: row.folderId }
+        const data = { folderId: row.folderId, taskId: this.taskId }
         this.folderList.push(row)
         this.current = row
         this.current.parentId = row.folderId
@@ -230,7 +230,7 @@ export default {
     },
     back () {
       if (this.folderList.length === 0) {
-        this.$message.error('已经是最后一级了')
+        this.$router.back()
         return
       }
       this.folderList.pop()