feat: 去掉 tabbar
This commit is contained in:
parent
775690c405
commit
fd64936e36
@ -7,8 +7,15 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { getIsTabbar } from '@/utils'
|
||||
import type { ConfigProviderThemeVars } from 'wot-design-uni'
|
||||
|
||||
onMounted(() => {
|
||||
if (getIsTabbar()) {
|
||||
uni.hideTabBar()
|
||||
}
|
||||
})
|
||||
|
||||
const themeVars: ConfigProviderThemeVars = {
|
||||
// colorTheme: 'red',
|
||||
// buttonPrimaryBgColor: '#07c160',
|
||||
|
Loading…
x
Reference in New Issue
Block a user