feat: 添加商户端页面
This commit is contained in:
@@ -23,6 +23,7 @@ const toErrorPage = (errCode = '', errMsg = '') => {
|
||||
const app = defineStore({
|
||||
id: 'app',
|
||||
state: () => ({
|
||||
bizMode: 'user',
|
||||
info: {
|
||||
// 应用信息
|
||||
name: '', // 商城名称
|
||||
@@ -61,6 +62,9 @@ const app = defineStore({
|
||||
has_wechat_trade_managed: 0, // 小程序发货信息管理 0 没有 || 1 有
|
||||
}),
|
||||
actions: {
|
||||
setBizMode(mode = 'user') {
|
||||
this.bizMode = mode === 'merchant' ? 'merchant' : 'user';
|
||||
},
|
||||
// 获取Shopro应用配置和模板
|
||||
async init(templateId = null) {
|
||||
// 检查网络
|
||||
|
||||
Reference in New Issue
Block a user