mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:53:25 +08:00
uniapp【修复】: 调整navbar属性可为空,解决App真机调试出现很多必须属性警告
This commit is contained in:
@@ -26,13 +26,13 @@
|
|||||||
const { menuButtonHeight } = useSystemInfo();
|
const { menuButtonHeight } = useSystemInfo();
|
||||||
|
|
||||||
const props = withDefaults(defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
isBack : boolean,
|
isBack ?: boolean,
|
||||||
bgColor : string,
|
bgColor ?: string,
|
||||||
titleColor : string,
|
titleColor ?: string,
|
||||||
mode : string,
|
mode ?: string,
|
||||||
title : string,
|
title ?: string,
|
||||||
handleCustomRouteJump : () => void | null,
|
handleCustomRouteJump ?: () => void | null,
|
||||||
placeholder : boolean;
|
placeholder ?: boolean;
|
||||||
}>(), {
|
}>(), {
|
||||||
isBack: true,
|
isBack: true,
|
||||||
bgColor: '#eef2f6',
|
bgColor: '#eef2f6',
|
||||||
|
|||||||
Reference in New Issue
Block a user