修改后台小程序直播查看问题,新增只有自营店可以赠送积分

This commit is contained in:
lemon橪
2021-06-24 10:32:51 +08:00
parent b7dd7f1c3b
commit 4133badc46
4 changed files with 13 additions and 12 deletions

View File

@@ -130,7 +130,7 @@
</FormItem>
<FormItem>
<Button type="primary" @click="createLives()">保存</Button>
<Button type="primary" v-if="liveStatus=='NEW'" @click="createLives()">保存</Button>
</FormItem>
</Form>
@@ -342,8 +342,7 @@ export default {
* dialog点击确定时判断
*/
addGoods() {
console.log(this.commodityList);
this.liveData.forEach((item, index) => {
this.liveData.forEach((item) => {
if (this.commodityList.length == 1 && this.liveData.length == 1) {
addLiveGoods({
roomId: this.$route.query.roomId,