chore(backend): tweak MkInput

This commit is contained in:
syuilo 2023-10-08 17:57:48 +09:00
parent 4bbfc98883
commit 274c21e2cc
2 changed files with 3 additions and 3 deletions

View file

@ -61,8 +61,8 @@ const props = defineProps<{
spellcheck?: boolean; spellcheck?: boolean;
step?: any; step?: any;
datalist?: string[]; datalist?: string[];
min?: string; min?: number;
max?: string; max?: number;
inline?: boolean; inline?: boolean;
debounce?: boolean; debounce?: boolean;
manualSave?: boolean; manualSave?: boolean;

View file

@ -113,7 +113,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m"> <div class="_gaps_m">
<div class="_gaps_s"> <div class="_gaps_s">
<MkInput v-model="notesPerOneAd" min="0" type="number"> <MkInput v-model="notesPerOneAd" :min="0" type="number">
<template #label>{{ i18n.ts._ad.notesPerOneAd }}</template> <template #label>{{ i18n.ts._ad.notesPerOneAd }}</template>
<template #caption>{{ i18n.ts._ad.setZeroToDisable }}</template> <template #caption>{{ i18n.ts._ad.setZeroToDisable }}</template>
</MkInput> </MkInput>