mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改图片引入打包报错的问题
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user