Commit ea24ba083c69235645b0914bba511d795f8f363b

Authored by xp.Huang
2 parents 747f83fd 4b5a34e6

Merge branch 'fix/DEFECT-1929' into 'main_dev'

fix:  修复大屏设计多页面,点击保存后就是最后停留的页面,应该为第一页

See merge request yunteng/thingskit-view!188
... ... @@ -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){
... ...