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)
}"
v-on="useLifeHandler(item)"
@changeZIndex="z => changeZIndex(item.id, z)"
@changeZIndex="(z: number | string | undefined) => changeZIndex(item.id, z)"
></component>
</div>
</div>

View File

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

View File

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