This commit is contained in:
liushiwei
2023-08-08 20:56:08 +08:00
parent e2e0543e0b
commit af224c0b0e
2 changed files with 1 additions and 19 deletions

View File

@@ -274,6 +274,7 @@ import { Message } from 'element-ui'
setTimeout(sendChromeAPIMessage({
url: 'bg-visage-mms/product/query',
needMallId: true,
mallId: this.productPage.mallId,
data: {
productEditTaskUid: '',
productId: productSpu

View File

@@ -14,20 +14,6 @@
<div :style="{marginLeft: '10px', color: $store.state.userInfo.flag == 1? 'green': 'red'}">{{ getStateInfo }}</div>
</div>
</el-tooltip>
<el-dropdown @command="onMallChange" v-if="mallName">
<div class="userinfo">
<span>{{ mallName }}</span>
<img src="../assets/images/bottom.png" />
</div>
<el-dropdown-menu slot="dropdown" style="width: 171px">
<el-dropdown-item
v-for="(item, index) in mallList"
:command="item"
:key="index">
{{ item.mallName }}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-dropdown @command="handleClick">
<div class="userinfo">
<span>{{ $store.state.userInfo.name + "(" + $store.state.userInfo.phone + ")" }}</span>
@@ -160,11 +146,6 @@
},
methods: {
onMallChange (e) {
this.$store.commit('setMallName', e.mallName)
this.$store.commit('setMallId', e.mallId)
location.reload()
},
handleClick (e) {
if (e === 'phone') {
this.$router.push('changePhone')