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 @@ - + + + - - + + + + + + + - +