feat: 销售统计分类筛选隐藏,商品同步优化
This commit is contained in:
@@ -199,7 +199,9 @@ let datas = reactive({
|
||||
remark: "",
|
||||
images: []
|
||||
});
|
||||
if (JSON.parse(localStorage.getItem('userInfo') || '{}').isHeadShop == 0) {
|
||||
let userInfo = ref(JSON.parse(localStorage.getItem('userInfo') || '{}'))
|
||||
console.log(userInfo.value.isEnableProdSync)
|
||||
if (userInfo.value.isHeadShop == 0 && userInfo.value.isEnableProdSync == 1) {
|
||||
contentConfig.toolbar.splice(0, 1)
|
||||
}else {
|
||||
contentConfig.toolbar.splice(1, 1)
|
||||
|
||||
Reference in New Issue
Block a user