liu
10 小时以前 4a45d6c79b2157a149afcb3b49ba504ff7c5075f
src/packages/effects/layouts/src/widgets/preferences/blocks/theme/font-size.vue
@@ -17,6 +17,8 @@
const props = withDefaults(
  defineProps<{
    /** 是否禁用 */
    disabled?: boolean;
    /** 最大值 */
    max?: number;
    /** 最小值 */
@@ -29,6 +31,7 @@
    unit?: string;
  }>(),
  {
    disabled: false,
    max: 22,
    min: 15,
    step: 1,
@@ -64,6 +67,7 @@
    <div class="flex items-center gap-2">
      <NumberField
        v-model="modelValue"
        :disabled="props.disabled"
        :max="max"
        :min="min"
        :step="step"