|
|
@@ -6,7 +6,6 @@ import { checkTokenLoop } from '@/services/bus/token';
|
|
|
import { getAllEnums, GetPCMenus, getServerTime, queryErrorInfos, QueryTableDefine } from '@/services/go/commonService/index';
|
|
|
import { GetErmcpGoods, QueryDeliveryGoodsDetail } from '@/services/go/ermcp/goodsInfo';
|
|
|
import { GetLoginID, LoginQuery } from '@/services/go/useInfo/index';
|
|
|
-import { localStorageUtil } from '@/utils/storage';
|
|
|
import { sessionStorageUtil } from '@/utils/storage/index';
|
|
|
import Long from 'long';
|
|
|
import { queryMarketRun } from '../go/commonMarket';
|
|
|
@@ -44,9 +43,7 @@ export const login = async (logidCode: string, password: string, byteArr: Uint8A
|
|
|
// 获取服务时间
|
|
|
// await getServerTime();
|
|
|
// 获取错误信息
|
|
|
- if (!localStorageUtil.getItem('errorCodeInfos')) {
|
|
|
- await queryErrorInfos();
|
|
|
- }
|
|
|
+ await queryErrorInfos();
|
|
|
// 获取枚举
|
|
|
if (!isAllEnum()) {
|
|
|
await getAllEnums();
|