avoid invalid querys (#74)

This commit is contained in:
Fine0830
2022-04-27 21:38:31 +08:00
committed by GitHub
parent 02f5c4b976
commit f40e9633df
2 changed files with 10 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ import { Option } from "@/types/app";
const emit = defineEmits(["change"]);
const props = defineProps({
options: {
type: Array as PropType<(Option & { disabled: boolean })[]>,
type: Array as PropType<Option[]>,
default: () => [],
},
value: {