| | |
| | | <div class="checkbox-action-sheet"> |
| | | <div class="checkbox-action-sheet-title">{{ title }}</div> |
| | | <nut-checkbox-group v-model="model" :max="max"> |
| | | <nut-checkbox v-for="item in columns" :key="item.id" :label="item.id" icon-size="16"> |
| | | {{ item.name }}</nut-checkbox |
| | | <nut-checkbox v-for="item in columns" :key="item.value" :label="item.value" icon-size="16"> |
| | | {{ item.label }}</nut-checkbox |
| | | > |
| | | </nut-checkbox-group> |
| | | <div class="checkbox-action-sheet-footer"> |
| | |
| | | type Props = { |
| | | max?: number; |
| | | title?: string; |
| | | columns?: API.GetTypeSearchSettingList[]; |
| | | columns?: API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), {}); |