Commit 44e222e7 authored by jiangjiantao's avatar jiangjiantao

bugfix

parent bff2d063
......@@ -27,19 +27,11 @@ Page({
my.ix.onBuddyMessage({
success: (res) => {
my.showToast({
type: 'success',
content: JSON.stringify(res),
duration: 3000,
success: () => {
},
});
console.info(`onBuddyMessage success: ${JSON.stringify(res)}`);
if (res.action == ACTION_GOODS) {
//商品信息同步
my.hideLoading();
let viewGoodsInfo = res.data.viewGoodsInfo
let viewGoodsInfo = res.data
if (viewGoodsInfo.goods != null && viewGoodsInfo.goods.length > 0) {
context.setData({
goods: viewGoodsInfo.goods,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment