This commit is contained in:
Mrx
2026-01-28 14:11:33 +08:00
parent 80ea79edc3
commit a02e27f270

View File

@@ -380,13 +380,13 @@ const props = defineProps({
// 子分类数据
const subCategories = ref([])
// 级联选择器配置
// 级联选择器配置checkStrictly: true 允许只选一级分类,不强制选子类)
const cascaderProps = {
value: 'id',
label: 'name',
children: 'children',
emitPath: false,
checkStrictly: false
checkStrictly: true
}
// 分类选项(包含子分类)