|
@@ -496,7 +496,7 @@ export default {
|
|
|
this.systemTime = data.data;
|
|
|
if (this.info.bargainingStatus === 0) {
|
|
|
this.bargainingVisible = true;
|
|
|
- return
|
|
|
+ return;
|
|
|
}
|
|
|
// 如果是安卓客户端登录的情况且bargainingStatus为 1 2 ,
|
|
|
if (
|
|
@@ -755,9 +755,12 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.success) {
|
|
|
localStorage.setItem('phone', params.phone);
|
|
|
- localStorage.setItem('auth._token.password', res.data.token)
|
|
|
- localStorage.setItem('token', res.data.token)
|
|
|
- localStorage.setItem('dataInfo', `{type: Object, data: ${JSON.stringify(res.data)}}`)
|
|
|
+ localStorage.setItem('auth._token.password', res.data.token);
|
|
|
+ localStorage.setItem('token', res.data.token);
|
|
|
+ localStorage.setItem(
|
|
|
+ 'dataInfo',
|
|
|
+ JSON.stringify({ type: Object, data: res.data }),
|
|
|
+ );
|
|
|
this.$toast('登录成功');
|
|
|
const url = !res.data.jumpToPage
|
|
|
? '/claimCloudPhone?bool=1'
|