pull/8/head
ldh 2023-03-29 00:18:40 +08:00
commit 8219926b80
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<view> <view v-if="template">
<s-layout <s-layout
title="首页" title="首页"
navbar="custom" navbar="custom"
@ -26,7 +26,7 @@
// tabBar // tabBar
uni.hideTabBar(); uni.hideTabBar();
const template = computed(() => sheep.$store('app').template.home); const template = computed(() => sheep.$store('app').template?.home);
onLoad((options) => { onLoad((options) => {
// #ifdef MP // #ifdef MP