删除部分图片,增加超级会员页面功能
This commit is contained in:
@@ -2,6 +2,18 @@
|
||||
import { defineStore } from "pinia";
|
||||
import * as shopApi from "@/http/api/shop.js";
|
||||
|
||||
//判断是否是主店
|
||||
export const isMainShop = (shopId) => {
|
||||
const shopInfo=uni.getStorageSync("shopInfo");
|
||||
if(shopInfo.isHeadShop){
|
||||
return true
|
||||
}
|
||||
if(shopInfo.shopType=='only'){
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// 分销
|
||||
export const useAccountInfoStore = defineStore("accountInfo", {
|
||||
state: () => {
|
||||
|
||||
Reference in New Issue
Block a user