Authored by 肖亚东

场景值获取bug:onShow获取每次启动更新

... ... @@ -371,6 +371,11 @@ class App extends Component {
app_report('start', 'LIFECYCLE', 'RESUME', par, this);
yas.report('YB_ENTER_FOREGROUND');
this.globalData = {
ch: options.scene
}
this.props.globalData.ch = options.scene;
if (!this.hasAwaken) {
let pathParam = '';
if (options && options.query) {
... ...
... ... @@ -229,7 +229,7 @@ export default class ProductDetail extends Component {
let productId = options.id
const globalData = getGlobalData();
let isGoApp = (globalData.ch == 1036 || globalData.ch == 1069 || globalData.ch == 1011) ? true : false;
let isGoApp = (globalData.ch == 1036 || globalData.ch == 1069) ? true : false;
let appParameter = `http://m.yohobuy.com?openby:yohobuy={"action":"go.ufo","params":{"pagename":"productDetail","productId":"${productId}"}}`;
... ...