1234567891011121314151617181920 |
- const _token=uni.getStorageSync('token') ;
- const _loginResponse=uni.getStorageSync('loginResponse') ? JSON.parse(uni.getStorageSync('loginResponse')) : [] ;
- let _ckList=uni.getStorageSync('ckList') ? JSON.parse(uni.getStorageSync('ckList')) : [] ;
- let _userInfo=uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo')) : null ;
- let _outsourceIssueList=uni.getStorageSync('outsourceIssueList') ? JSON.parse(uni.getStorageSync('outsourceIssueList')) : [] ;
- let _movewarehouseList=uni.getStorageSync('movewarehouseList') ? JSON.parse(uni.getStorageSync('movewarehouseList')) : [] ;
-
- export default {
- // loginStatus:false, // 登陆状态
- token:_token,// 登陆权限
- loginResponse:_loginResponse, //登陆返回的数据
- ckList:_ckList, // 存储仓库
- userInfo:_userInfo, // 账号信息
- systemInfo:"", // 系统信息
- outsourceIssueList:_outsourceIssueList, // 委外发料
- movewarehouseList:_movewarehouseList ,// 移除移库物品信息
- submitStatus:false, // 提交状态
- }
|