|
@@ -528,10 +528,12 @@ export default {
|
|
//初始化内页标题
|
|
//初始化内页标题
|
|
initPageTitle(page){
|
|
initPageTitle(page){
|
|
const index = this.pageList.findIndex((i) => i.id === page.id)
|
|
const index = this.pageList.findIndex((i) => i.id === page.id)
|
|
- const dom = document.getElementById(`page_title__${index}`)
|
|
|
|
- if(dom){
|
|
|
|
- dom.innerHTML = page.title
|
|
|
|
- }
|
|
|
|
|
|
+ this.$nextTick(()=>{
|
|
|
|
+ const dom = document.getElementById(`page_title__${index}`)
|
|
|
|
+ if(dom){
|
|
|
|
+ dom.innerHTML = page.title
|
|
|
|
+ }
|
|
|
|
+ })
|
|
},
|
|
},
|
|
//图表,表格数据统一加载,不按照页
|
|
//图表,表格数据统一加载,不按照页
|
|
async initPPTAllPage(pageList){
|
|
async initPPTAllPage(pageList){
|