doway-coms 1.1.81 → 1.1.82

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.81",
3
+ "version": "1.1.82",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -16,11 +16,15 @@ export default new Vuex.Store({
16
16
  moduleViewInfo: {},
17
17
  controlSize: 'small',
18
18
  newId: 0,//明细新增id
19
+ userId: '',
19
20
  },
20
21
  mutations: {
21
22
  SET_TOKEN: (state, token) => {
22
23
  state.token = token
23
24
  },
25
+ SET_USERID: (state, userId) => {
26
+ state.userId = userId
27
+ },
24
28
  SET_INDUSTRY_VERSION:(state,industryVersion)=>{
25
29
  state.industryVersion = industryVersion
26
30
  },
@@ -109,6 +113,7 @@ export default new Vuex.Store({
109
113
  newId: state => () => {
110
114
  state.newId = state.newId + 1
111
115
  return state.newId
112
- }
116
+ },
117
+ userId: state => state.userId,
113
118
  }
114
119
  })