修改默认传值
parent
fedf7db1e1
commit
22510d82c1
|
|
@ -16,7 +16,7 @@ interface list_page {
|
|||
}
|
||||
interface Props {
|
||||
colorList: list_page[];
|
||||
defaultColor: string;
|
||||
defaultColor?: string;
|
||||
}
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
defaultColor: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue