fix: 修改图片引入打包报错的问题

This commit is contained in:
MTrun
2022-02-28 20:26:04 +08:00
parent 5675ea0720
commit 63ed00bd28
17 changed files with 249 additions and 276 deletions
@@ -48,7 +48,7 @@
:min="10"
:max="200"
:step="5"
:format-tooltip="v => `${v}%`"
:format-tooltip="sliderFormatTooltip"
:disabled="lockScale"
:marks="sliderMaks"
@update:value="sliderHandle"
@@ -124,6 +124,9 @@ const lockHandle = () => {
// 拖动
const sliderValue = ref(100)
// 拖动格式化
const sliderFormatTooltip = (v: string) => `${v}%`
// 拖动处理
const sliderHandle = (v: number) => {
chartEditStore.setScale(v / 100)