Authored by htoooth

fix

... ... @@ -25,7 +25,8 @@ const config = {
MINI_APP_DOMAIN: 'miniapp.yohobuy.com',
appid: 'wx39f299b6485cf97a', // 业务中使用、与package.config.json内appid保持一致wx39f299b6485cf97a
business_line: 'miniappOffshop', // 业务线
mini_app_type: 4
mini_app_type: 4,
envVersion: 'develop'
};
export default config;
... ...
... ... @@ -2,6 +2,7 @@ import wx from '../utils/wx';
import {
stringify
} from '../vendors/query-stringify';
import config from '../common/config';
const appData = {
yohostore: {
... ... @@ -36,7 +37,8 @@ const appData = {
export default function(params) {
let navigateToMiniParams = {
appId: appData[params.app].appId,
path: params.path || `${appData[params.app].page[params.page]}?${stringify(params.data)}`
path: params.path || `${appData[params.app].page[params.page]}?${stringify(params.data)}`,
envVersion: config.envVersion
};
return wx.navigateToMiniProgram(navigateToMiniParams);
... ...