| | |
| | | <div class="nut-category-pane__cateListRight"> |
| | | <div v-for="(item, index) in categoryChild" :key="index"> |
| | | <div class="nut-category-pane__childItemList"> |
| | | <div class="bole-category-pane__childItem" @click="onChange(item.value)"> |
| | | <div class="bole-category-pane__childItem" @click="onChange(item.id)"> |
| | | <div |
| | | class="bole-category-pane-item-wrapper" |
| | | :class="{ active: modelValue.includes(item.value) }" |
| | | :class="{ active: modelValue.includes(item.id) }" |
| | | > |
| | | <div class="bole-category-pane-item-name">{{ item.name }}</div> |
| | | <Check :size="16" class="bole-category-pane-item-icon" /> |
| | |
| | | |
| | | type ChildType = { |
| | | name?: string; |
| | | value?: string | number; |
| | | id?: string | number; |
| | | [key: string]: any; |
| | | }; |
| | | |