下单详情
This commit is contained in:
@@ -163,9 +163,6 @@
|
||||
APIhomehomePageUp,
|
||||
APIhome
|
||||
} from "@/common/api/index/index.js"
|
||||
import {
|
||||
APIshopUserInfo
|
||||
} from "@/common/api/member.js"
|
||||
import {
|
||||
useNavbarStore
|
||||
} from '@/stores/navbarStore';
|
||||
@@ -173,6 +170,7 @@
|
||||
productStore
|
||||
} from '@/stores/user.js';
|
||||
const store = useNavbarStore();
|
||||
const storeuser = productStore();
|
||||
store.updateNavbarConfig({
|
||||
showBack: true, //左边返回键
|
||||
rightText: '', //右边文字
|
||||
@@ -344,11 +342,7 @@
|
||||
await proxy.$onLaunched;
|
||||
if (uni.cache.get('shopId') && uni.cache.get('token')) {
|
||||
showindex.value = 'shopIndex'
|
||||
let res = await APIshopUserInfo()
|
||||
if (res) {
|
||||
//商家信息
|
||||
uni.cache.set('ShopUser', res)
|
||||
}
|
||||
await storeuser.actionsAPIuser()
|
||||
} else {
|
||||
hometop()
|
||||
init_fn()
|
||||
|
||||
Reference in New Issue
Block a user