优化店铺段报错问题,后续会配置开发环境以及生产环境动态CDN优化

This commit is contained in:
lemon橪
2021-08-20 17:45:57 +08:00
parent b59da2c101
commit 7caa2fd40d
23 changed files with 362 additions and 488 deletions

View File

@@ -14,7 +14,7 @@
<div>
<Tabs v-model="params.auditStatus">
<TabPane v-for="(item,index) in liveTabWay" :key="index" :label="item.label" :name="item.type">
<TabPane v-for="(item,index) in liveTabWay" :key="index" :label="item.label" :name="item.type+''">
</TabPane>
</Tabs>
</div>
@@ -63,7 +63,7 @@
<template slot-scope="{ row,index }" slot="action">
<Button v-if="params.auditStatus == 99" type="primary" @click="()=>{liveGoodsData.splice(index,1)}">删除</Button>
<Button v-if="params.auditStatus != 99 && !reviewed" ghost type="primary" @click="()=>{$router.push({path:'/goods-operation-edit',query:{id:row.goodsId}})}">查看</Button>
<Button v-if="reviewed" :type="row.___selected ? 'primary' : ''" @click="selectedLiveGoods(row,index)">{{row.___selected ? '':''}}选择</Button>
<Button v-if="reviewed" :type="row.___selected ? 'primary' : 'default'" @click="selectedLiveGoods(row,index)">{{row.___selected ? '':''}}选择</Button>
</template>
</Table>
<div class="flex">
@@ -90,7 +90,7 @@ export default {
},
data() {
return {
goodsTotal: "", //商品总数
goodsTotal: 0, //商品总数
saveGoodsLoading: false, //保存商品加载
tableLoading: false, //表格是否加载
params: {
@@ -209,7 +209,6 @@ export default {
* 回调参数补充
*/
selectedLiveGoods(val, index) {
this.$emit("selectedGoods", val);
},
/**