【功能修复】s-layout 部分属性缺失时,首页无法展示的问题

pull/134/MERGE
YunaiV 2025-01-04 08:53:55 +08:00
parent 139ec62e9a
commit 9f7015090d
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template>
<view
class="page-app"
:class="['theme-' + sys.mode, 'main-' + sys.theme, 'font-' + sys.fontSize]"
:class="['theme-' + sys?.mode, 'main-' + sys?.theme, 'font-' + sys?.fontSize]"
>
<view class="page-main" :style="[bgMain]">
<!-- 顶部导航栏-情况1默认通用顶部导航栏 -->
@ -27,7 +27,7 @@
<su-inner-navbar v-if="navbar === 'inner'" :title="title" />
<view
v-if="navbar === 'inner'"
:style="[{ paddingTop: sheep.$platform.navbar + 'px' }]"
:style="[{ paddingTop: sheep?.$platform?.navbar + 'px' }]"
></view>
<!-- 顶部导航栏-情况4装修组件导航栏-沉浸式 -->