Skip to content

Commit

Permalink
fix(SelectOri): 修复选择框 ts 类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Tenny committed Oct 21, 2024
1 parent 2009296 commit 8b07d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectOri.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</select>
</template>
<script setup lang="ts">
const value = defineModel<string>();
const value = defineModel<string | number>();
defineProps<{
options?: { label: string; value: string | number }[];
Expand Down

0 comments on commit 8b07d66

Please sign in to comment.