|
@@ -168,14 +168,13 @@ export function webViewHref(url, pam = {}, crossPagePam = {}) {
|
|
|
var defaultPam = {
|
|
|
...pam,
|
|
|
...crossPagePam,
|
|
|
- code2: store.state.user.code2 || '',
|
|
|
- 'x-token': store.state.user.token,
|
|
|
+ appId: store.state.user.appId,
|
|
|
openId: store.state.user.openId,
|
|
|
userId: store.state.user.userId,
|
|
|
+ code2: store.state.user.code2 || '',
|
|
|
+ 'x-token': store.state.user.token,
|
|
|
mobile: store.state.user.mobile,
|
|
|
username: store.state.user.name,
|
|
|
- useravatar: store.state.user.avatar,
|
|
|
- appId: store.state.user.appId,
|
|
|
...(() => {
|
|
|
if (store.state.user.miniOpenId) {
|
|
|
return {
|
|
@@ -222,14 +221,13 @@ export function webHref(url, pam = {}, crossPagePam = {}) {
|
|
|
var defaultPam = {
|
|
|
...pam,
|
|
|
...crossPagePam,
|
|
|
- code2: store.state.user.code2 || '',
|
|
|
- 'x-token': store.state.user.token,
|
|
|
+ appId: store.state.user.appId,
|
|
|
openId: store.state.user.openId,
|
|
|
userId: store.state.user.userId,
|
|
|
+ code2: store.state.user.code2 || '',
|
|
|
+ 'x-token': store.state.user.token,
|
|
|
mobile: store.state.user.mobile,
|
|
|
username: store.state.user.name,
|
|
|
- useravatar: store.state.user.avatar,
|
|
|
- appId: store.state.user.appId,
|
|
|
...(() => {
|
|
|
if (store.state.user.miniOpenId) {
|
|
|
return {
|