zhengyiming
8 天以前 4e2b08ec7c558498592a1e9b32bae8016b0906ac
packages/components/src/ActionSheet/CheckboxActionSheet.vue
@@ -2,8 +2,8 @@
  <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">
@@ -21,7 +21,7 @@
type Props = {
  max?: number;
  title?: string;
  columns?: API.GetTypeSearchSettingList[];
  columns?: API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[];
};
const props = withDefaults(defineProps<Props>(), {});