|
@@ -10,8 +10,6 @@ import useSlideHandler from '@/hooks/useSlideHandler'
|
|
|
import useHistorySnapshot from './useHistorySnapshot'
|
|
import useHistorySnapshot from './useHistorySnapshot'
|
|
|
import message from '@/utils/message'
|
|
import message from '@/utils/message'
|
|
|
import { getSvgPathRange } from '@/utils/svgPathParser'
|
|
import { getSvgPathRange } from '@/utils/svgPathParser'
|
|
|
-import { useI18n } from 'vue-i18n'
|
|
|
|
|
-import { isPC } from '@/utils/common'
|
|
|
|
|
import type {
|
|
import type {
|
|
|
Slide,
|
|
Slide,
|
|
|
TableCellStyle,
|
|
TableCellStyle,
|
|
@@ -27,12 +25,12 @@ import type {
|
|
|
Gradient,
|
|
Gradient,
|
|
|
} from '@/types/slides'
|
|
} from '@/types/slides'
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
// 单位转换比例(pt转px)
|
|
// 单位转换比例(pt转px)
|
|
|
const ratio = 72 / 96
|
|
const ratio = 72 / 96
|
|
|
-const _isPC = isPC()
|
|
|
|
|
|
|
|
|
|
export default () => {
|
|
export default () => {
|
|
|
- const { t } = useI18n()
|
|
|
|
|
const slidesStore = useSlidesStore()
|
|
const slidesStore = useSlidesStore()
|
|
|
const { slides, theme, viewportRatio, title, viewportSize, resourcesData } = storeToRefs(useSlidesStore())
|
|
const { slides, theme, viewportRatio, title, viewportSize, resourcesData } = storeToRefs(useSlidesStore())
|
|
|
|
|
|