pull/86/head
孙萌 2024-01-06 14:57:06 +08:00
parent 41e72c9a18
commit 2914d76401
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ export default {
methods: {
// id
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
this.api.user_getjurisdiction(userId).then(res => {
if (res.data.code == 200) {