fix(slider): fix warning of modelValue (#1622)

This commit is contained in:
kooriookami
2021-03-12 17:25:46 +08:00
committed by GitHub
parent 96ab675903
commit 362431e0db

View File

@@ -190,9 +190,9 @@ export default defineComponent({
setup(props, { emit }) {
const initData = reactive({
firstValue: null,
secondValue: null,
oldValue: null,
firstValue: 0,
secondValue: 0,
oldValue: 0,
dragging: false,
sliderSize: 1,
})