From 718adc043815ad8ef7ec85aeadeaf5ebf1be6553 Mon Sep 17 00:00:00 2001 From: "jlj05024111@163.com" Date: Wed, 30 Oct 2024 18:33:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=BB=91=E5=8A=A8?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=9D=A1=E6=89=93=E5=8C=85=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/editor/slider/ibiz-slider/ibiz-slider.tsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95044df..9c8a35f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Fixed +- 修复滑动输入条打包报错 - 移除冗余依赖 - 修复默认登录页密码框是明文的问题 - 修复工具栏分组项显示异常 diff --git a/src/editor/slider/ibiz-slider/ibiz-slider.tsx b/src/editor/slider/ibiz-slider/ibiz-slider.tsx index 691b67b..492da53 100644 --- a/src/editor/slider/ibiz-slider/ibiz-slider.tsx +++ b/src/editor/slider/ibiz-slider/ibiz-slider.tsx @@ -185,7 +185,6 @@ export const IBizSlider = defineComponent({ rate={this.currentVal} // 显示值 size={this.circleSize} // 显示直径 layer-color='lightgray' - speed={this.speed} stroke-width='100' {...this.$attrs} > @@ -194,7 +193,7 @@ export const IBizSlider = defineComponent({ if (!this.showText) { return ''; } - let text = this.currentVal; + let text = String(this.currentVal as number); if (this.textItem) { text = this.textVal; } -- Gitee