Open Waynefong opened 1 year ago
<a-slider :style="{ width: '100px' }" :format-tooltip=" (value:number) => { return ${value * 100}%; } " :step="0.2" :show-ticks="true" :min="0.2" :max="2" class="scale-bar" :default-value="canvasContainerData.scale" @change.stop="changeScale" />
${value * 100}%
期望可以修复这个问题,或提供event自行处理
@Waynefong 后面考虑添加一个 event 参数
Basic Info
Steps to reproduce
<a-slider :style="{ width: '100px' }" :format-tooltip=" (value:number) => { return
${value * 100}%
; } " :step="0.2" :show-ticks="true" :min="0.2" :max="2" class="scale-bar" :default-value="canvasContainerData.scale" @change.stop="changeScale" />What is expected?
期望可以修复这个问题,或提供event自行处理