vue2-client 1.15.53 → 1.15.54

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": "vue2-client",
3
- "version": "1.15.53",
3
+ "version": "1.15.54",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -198,9 +198,10 @@ export default {
198
198
  address: '西安市',
199
199
  position: positions[0]
200
200
  }, result)
201
+ console.warn(JSON.stringify(user))
201
202
  this.setUser(user)
202
203
  this.setPermissions(Vue.$login.r || [])
203
- this.setRoles(result.roles.split(',') || [])
204
+ this.setRoles(result.rolestr.split(',') || [])
204
205
  let func
205
206
  switch (this.compatible) {
206
207
  case 'OA' :