doway-coms 1.1.83 → 1.1.84

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.1.83",
3
+ "version": "1.1.84",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -17,6 +17,7 @@ export default new Vuex.Store({
17
17
  controlSize: 'small',
18
18
  newId: 0,//明细新增id
19
19
  userId: '',
20
+ userName: '',
20
21
  staffId: '',
21
22
  },
22
23
  mutations: {
@@ -26,6 +27,9 @@ export default new Vuex.Store({
26
27
  SET_USERID: (state, userId) => {
27
28
  state.userId = userId
28
29
  },
30
+ SET_USERNAME: (state, userName) => {
31
+ state.userName = userName
32
+ },
29
33
  SET_STAFFID: (state, staffId) => {
30
34
  state.staffId = staffId
31
35
  },
@@ -119,6 +123,7 @@ export default new Vuex.Store({
119
123
  return state.newId
120
124
  },
121
125
  userId: state => state.userId,
126
+ userName: state => state.userName,
122
127
  staffId: state => state.staffId,
123
128
  }
124
129
  })