feat: 新增导入导出功能😍

This commit is contained in:
MTrun
2022-04-10 17:56:51 +08:00
parent aef57f13f0
commit 16bf72ac24
9 changed files with 185 additions and 42 deletions
@@ -10,7 +10,6 @@ export const useComInstall = (localStorageInfo: ChartEditStorageType) => {
const intervalTiming = setInterval(() => {
if (window['$vue'].component) {
clearInterval(intervalTiming)
show.value = true
localStorageInfo.componentList.forEach(async (e: CreateComponentType) => {
if (!window['$vue'].component(e.chartConfig.chartKey)) {
window['$vue'].component(
@@ -19,6 +18,7 @@ export const useComInstall = (localStorageInfo: ChartEditStorageType) => {
)
}
})
show.value = true
}
}, 200)