Commit d4089e8e authored by zhang's avatar zhang

style: 提交8月21日修改

parent 251390f2
...@@ -408,7 +408,13 @@ export default { ...@@ -408,7 +408,13 @@ export default {
} }
}) })
page = cache page = cache
if(this.chapterOptions.length < tempOptions.length || this.chapterOptions.length == 0){
this.chapterOptions = tempOptions this.chapterOptions = tempOptions
}
forEach(page,(pageItem)=>{ // 继续加工数据,对page容器中的每条数据pageItem处理 forEach(page,(pageItem)=>{ // 继续加工数据,对page容器中的每条数据pageItem处理
forEach(tempData,async (tempDataItem)=>{ // 对临时数据tempData中每条数据tempDataItem处理 forEach(tempData,async (tempDataItem)=>{ // 对临时数据tempData中每条数据tempDataItem处理
if(tempDataItem.chapter == pageItem.label){// 当pageItem和tempDataItem章节属性匹配时,将tempDataItem数据进行模板化并储存到page容器中 if(tempDataItem.chapter == pageItem.label){// 当pageItem和tempDataItem章节属性匹配时,将tempDataItem数据进行模板化并储存到page容器中
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment