...
|
...
|
@@ -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);
|
...
|
...
|
|