Commit 4b5a34e6ef3c34a118d82843c8e02d6613bfe20a
1 parent
da7263e4
fix: 修复大屏设计多页面,点击保存后就是最后停留的页面,应该为第一页
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -90,6 +90,7 @@ export const getSessionStorageInfo = async () => { |
90 | 90 | await nextTick() |
91 | 91 | const { pageConfig } = content |
92 | 92 | chartEditStore.setPageConfig(pageConfig) |
93 | + chartEditStore.setCurrentPageSelectId(pageConfig.pageList[0].id) | |
93 | 94 | // chartEditStore.setPageList(pageConfig.pageList) |
94 | 95 | // pageConfig.pageList.forEach(pageItem => { |
95 | 96 | // if(pageItem.id===chartEditStore.pageConfig.currentActiveId){ | ... | ... |