uni-oaview 1.0.20 → 1.0.22

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.
@@ -88,9 +88,9 @@
88
88
  success: (res: any) => {
89
89
  const { uuid: id, email, ...otherParams } = res?.data?.data;
90
90
  const userInfo = {
91
+ ...otherParams,
91
92
  id,
92
93
  email,
93
- ...otherParams,
94
94
  department: '这是一个很长很长的部门部门321312321312',
95
95
  position: '这是一个很长很长的职位321312312321321312',
96
96
  };
@@ -100,6 +100,7 @@
100
100
  success: (res: any) => {
101
101
  uni.hideLoading();
102
102
  emit('loginSuccess', {
103
+ ...formData,
103
104
  token: res.data.data,
104
105
  userInfo,
105
106
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uni-oaview",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "uniapp小程序组件库",
5
5
  "main": "dist/index.umd.js",
6
6
  "typings": "dist/index.d.ts",