From fa3ca6b7bbd1d29953d2151b8a737b61f47a707c Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Wed, 12 Aug 2020 00:23:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=8Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yxWechatLiveGoods.js | 2 +- src/views/components/goods/index.vue | 4 +- src/views/wechat/goods/index.vue | 89 ++++++++++++++++++++++------ 3 files changed, 74 insertions(+), 21 deletions(-) diff --git a/src/api/yxWechatLiveGoods.js b/src/api/yxWechatLiveGoods.js index fa8d22e..8f08138 100644 --- a/src/api/yxWechatLiveGoods.js +++ b/src/api/yxWechatLiveGoods.js @@ -25,7 +25,7 @@ export function edit(data) { } export function sync(ids) { return request({ - url: 'api/yxWechatLiveGoods/sync', + url: 'api/yxWechatLiveGoods/synchro', method: 'post', data: ids }) diff --git a/src/views/components/goods/index.vue b/src/views/components/goods/index.vue index 88186c1..9c30c81 100644 --- a/src/views/components/goods/index.vue +++ b/src/views/components/goods/index.vue @@ -121,8 +121,8 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(function() { - that.value.splice(index, 1) - that.urls = [] + that.newValue.splice(index, 1) + that.url = [] }) }, doSelect() { diff --git a/src/views/wechat/goods/index.vue b/src/views/wechat/goods/index.vue index 026453f..a7c85a9 100644 --- a/src/views/wechat/goods/index.vue +++ b/src/views/wechat/goods/index.vue @@ -42,32 +42,32 @@ - 一口价 - 价格区间 - 显示折扣价 + 一口价 + 价格区间 + 显示折扣价 - + - + - + - + - + @@ -84,28 +84,44 @@ - + + + - - + + + + + + + - +