zhaozhipeng 1 год назад
Родитель
Сommit
1cced3521c
1 измененных файлов с 19 добавлено и 0 удалено
  1. 19 0
      src/views/modules/knowledge/album/detail.vue

+ 19 - 0
src/views/modules/knowledge/album/detail.vue

@@ -464,6 +464,25 @@ export default {
         this.getInfo()
       }
       this.getYelp()
+    } else {
+       this.titleData = '新增编辑'
+      let info = SessionCache.getCache('albumDetail')
+      if(info.isContentList == 1) {
+        this.knowledgeForm = info.knowledgeForm
+        this.detailData = info.detailData
+        this.detailDataBase = info.detailDataBase
+        this.imgUrl = info.imgUrl
+        this.tapArr = info.tapArr
+        this.albumArr = info.albumArr
+        this.tapAction = info.tapAction
+        this.albumIndex = info.albumIndex,
+        this.albumPkId = info.albumPkId
+        this.dataList = this.albumArr[this.albumIndex].dataList
+        // if(this.detailDataBase.versionState==2){
+        //   this.tapArr.push({id:2,name:'专辑点评'})
+        // }
+        SessionCache.deleteCache('albumDetail')
+      }
     }