Commit 7cae146f8930fe99cefdc034faa1349b97200b7c

Authored by yvan.ni
1 parent 36956658

归属门店的bug优化

pages/goods/goodsInfo/goodsInfo.js
@@ -480,7 +480,7 @@ Page({ @@ -480,7 +480,7 @@ Page({
480 th.data.fir_def_store = {}; //赋值空对象 480 th.data.fir_def_store = {}; //赋值空对象
481 return false; 481 return false;
482 } 482 }
483 - th.setData({has_def:1}); 483 + if(getApp().globalData.is_dj_pk) th.setData({has_def:1});
484 484
485 var ee = JSON.parse(JSON.stringify(e)); 485 var ee = JSON.parse(JSON.stringify(e));
486 //--定时器推迟一下-- 486 //--定时器推迟一下--