完善分销功能

This commit is contained in:
gyq
2025-10-28 17:34:58 +08:00
parent 0cafd8651b
commit 2d35ab3b7d
21 changed files with 1656 additions and 92 deletions

View File

@@ -22,7 +22,7 @@ const props = defineProps({
}
})
const emits = defineEmits(['update:modelValue'])
const emits = defineEmits(['update:modelValue', 'change'])
const modelValue = defineModel('modelValue', {
type: [String, Number],
@@ -40,6 +40,8 @@ function changeHandle(index) {
}
})
leftValue.value = left + gap.value * index
emits('change', index)
}
const itemRefs = ref([])