fix: 配送单页面接口数据对接,去除部分失效接口调用
This commit is contained in:
@@ -55,12 +55,12 @@ const app = defineStore({
|
||||
}
|
||||
|
||||
// 加载装修配置
|
||||
await adaptTemplate(this.template, templateId);
|
||||
// await adaptTemplate(this.template, templateId);
|
||||
|
||||
// TODO 芋艿:未来支持管理后台可配;对应 https://api.shopro.sheepjs.com/shop/api/init
|
||||
if (true) {
|
||||
this.info = {
|
||||
name: '云南江楠商城',
|
||||
name: '惠吃宝骑手端',
|
||||
// logo: 'https://static.iocoder.cn/ruoyi-vue-pro-logo.png',
|
||||
logo: 'http://api.jnmall.zq-hightech.com/admin-api/infra/file/29/get/4afd6199c4dae91669abf0e67bbb4e6cf07b7849458ed8aa9a6db2a78c5400a8.png',
|
||||
version: '1.0.0',
|
||||
|
||||
@@ -116,8 +116,8 @@ const user = defineStore({
|
||||
|
||||
// 获取最新信息
|
||||
await this.getInfo();
|
||||
this.getWallet();
|
||||
this.getNumData();
|
||||
// this.getWallet();
|
||||
// this.getNumData();
|
||||
return this.userInfo;
|
||||
},
|
||||
|
||||
@@ -130,7 +130,7 @@ const user = defineStore({
|
||||
this.userWallet = clone(defaultUserWallet);
|
||||
this.numData = cloneDeep(defaultNumData);
|
||||
// 清空购物车的缓存
|
||||
cart().emptyList();
|
||||
// cart().emptyList();
|
||||
},
|
||||
|
||||
// 登录后,加载各种信息
|
||||
@@ -139,7 +139,7 @@ const user = defineStore({
|
||||
await this.updateUserData();
|
||||
|
||||
// 加载购物车
|
||||
cart().getList();
|
||||
// cart().getList();
|
||||
// 登录后设置全局分享参数
|
||||
$share.getShareInfo();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user