gxd-uni-library-editx 1.0.170 → 1.0.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -160,6 +160,8 @@
|
|
|
160
160
|
this.$xdShowLoading({})
|
|
161
161
|
callThis.useBindedWallet({
|
|
162
162
|
wallet_type: row.wallet_type,
|
|
163
|
+
wallet_nnid: row.wallet_nnid,
|
|
164
|
+
customer_id: row.customer_id,
|
|
163
165
|
selected_wallet_list_json: JSON.stringify(this.selectedWalletList),
|
|
164
166
|
}, (res) => {
|
|
165
167
|
this.$xdHideLoading();
|
package/src/utils/xd.base.js
CHANGED
package/src/utils/xd.common.js
CHANGED
|
@@ -349,6 +349,15 @@ export function handlePesponse(
|
|
|
349
349
|
else store.state.jfbAuthorize.jumpToUserLogin($vm);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
+
//企业登陆
|
|
353
|
+
else if(response.data.code === 'NeedCustomerLogin') {
|
|
354
|
+
if ($vm.$route.path === store.state.jfbAuthorize.customerPath) {
|
|
355
|
+
reject(response);
|
|
356
|
+
$vm.$xdHideLoading();
|
|
357
|
+
}
|
|
358
|
+
else store.state.jfbAuthorize.jumpToCustomerLogin($vm);
|
|
359
|
+
}
|
|
360
|
+
|
|
352
361
|
//401去交换token
|
|
353
362
|
else if(response.data.code === 'Unauthorized') {
|
|
354
363
|
store.dispatch('userRefreshToken')
|