fix: 优化

This commit is contained in:
huanghao1412 2024-02-27 19:07:05 +08:00
parent 5aa28ad908
commit 23fc25bd43
3 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,7 @@
...getTransformStyle(item.styles) ...getTransformStyle(item.styles)
}" }"
v-on="useLifeHandler(item)" v-on="useLifeHandler(item)"
@changeZIndex="z => changeZIndex(item.id, z)" @changeZIndex="(z: number | string | undefined) => changeZIndex(item.id, z)"
></component> ></component>
</div> </div>
</div> </div>

View File

@ -37,7 +37,7 @@
...getFilterStyle(item.styles) ...getFilterStyle(item.styles)
}" }"
v-on="bindEvent(item)" v-on="bindEvent(item)"
@changeZIndex="z => changeZIndex(item.id, z)" @changeZIndex="(z: number | string | undefined) => changeZIndex(item.id, z)"
></component> ></component>
<!-- v-on="useLifeHandler(item)"--> <!-- v-on="useLifeHandler(item)"-->
</div> </div>

View File

@ -26,7 +26,6 @@ export const getSessionStorageInfo = async () => {
// // 跳转未发布页 // // 跳转未发布页
// return { isRelease: false } // return { isRelease: false }
// } // }
console.log(content)
const parseData = { ...JSONParse(content ? content : '{}'), id } const parseData = { ...JSONParse(content ? content : '{}'), id }
const { editCanvasConfig, requestGlobalConfig, componentList } = parseData const { editCanvasConfig, requestGlobalConfig, componentList } = parseData
chartEditStore.editCanvasConfig = editCanvasConfig chartEditStore.editCanvasConfig = editCanvasConfig