vue2-client 1.15.52 → 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
@@ -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.
|
204
|
+
this.setRoles(result.rolestr.split(',') || [])
|
204
205
|
let func
|
205
206
|
switch (this.compatible) {
|
206
207
|
case 'OA' :
|