修改默认传值

v1.0.0
于肖磊 2024-09-05 10:46:42 +08:00
parent fedf7db1e1
commit 22510d82c1
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ interface list_page {
}
interface Props {
colorList: list_page[];
defaultColor: string;
defaultColor?: string;
}
const props = withDefaults(defineProps<Props>(), {
defaultColor: '',