feat: 新增动态预览功能

This commit is contained in:
奔跑的面条
2022-06-01 22:19:03 +08:00
parent 82394dd7a3
commit bc44584698
7 changed files with 152 additions and 112 deletions
+1
View File
@@ -4,6 +4,7 @@ import type { ChartEditStorageType } from '../index.d'
import { PreviewScaleEnum } from '@/enums/styleEnum'
export const useScale = (localStorageInfo: ChartEditStorageType) => {
const entityRef = ref()
const previewRef = ref()
const width = ref(localStorageInfo.editCanvasConfig.width)