pull/86/head
parent
41e72c9a18
commit
2914d76401
|
@ -136,7 +136,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
// 获取用户id权限
|
// 获取用户id权限
|
||||||
get_user_getjurisdiction() {
|
get_user_getjurisdiction() {
|
||||||
let userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
let userInfo = localStorage.getItem("userInfo")?JSON.parse(localStorage.getItem("userInfo")):{userid:-1};
|
||||||
let userId = userInfo.userid
|
let userId = userInfo.userid
|
||||||
this.api.user_getjurisdiction(userId).then(res => {
|
this.api.user_getjurisdiction(userId).then(res => {
|
||||||
if (res.data.code == 200) {
|
if (res.data.code == 200) {
|
||||||
|
|
Loading…
Reference in New Issue