Files
kccharge-app/pages/redirect/index.vue
T
2025-10-28 09:25:46 +08:00

27 lines
643 B
Vue

<template>
<s-layout navbar="normal" onShareAppMessage>
</s-layout>
</template>
<script setup>
import tenantId from '@/sheep/config/tenantId';
onLoad(async () => {
uni.showLoading({
title: '加载中...',
mask: true
})
Promise.all([tenantId.getTenantByWebsite(), sheep.$store('user').getLocation()])
.then(() => {
// 加载Shopro底层依赖
ShoproInit();
sheep.$store('dict').getDictData()
uni.hideLoading()
uni.switchTab({
url: '/pages/index/index'
})
}, err => {
uni.hideLoading()
console.log(err)
})
})
</script>