fix: 修改预览的问题

This commit is contained in:
mtruning
2022-03-06 20:31:45 +08:00
parent 75232ee902
commit e3816524da
3 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ const previewRefStyle = computed(() => {
if (!localStorageInfo) {
window['$message'].warning('获取数据失败')
}
console.log(localStorageInfo);
nextTick(() => {
const { calcRate, windowResize, unWindowResize } = usePreviewScale(width.value as number, height.value as number, previewRef.value)