uniapp【修复】: 调整navbar属性可为空,解决App真机调试出现很多必须属性警告

This commit is contained in:
21世纪小八路
2024-11-03 14:10:30 +08:00
parent d0c5769902
commit 2c5ab4f91a

View File

@@ -26,13 +26,13 @@
const { menuButtonHeight } = useSystemInfo();
const props = withDefaults(defineProps<{
isBack : boolean,
bgColor : string,
titleColor : string,
mode : string,
title : string,
handleCustomRouteJump : () => void | null,
placeholder : boolean;
isBack ?: boolean,
bgColor ?: string,
titleColor ?: string,
mode ?: string,
title ?: string,
handleCustomRouteJump ?: () => void | null,
placeholder ?: boolean;
}>(), {
isBack: true,
bgColor: '#eef2f6',