a1300399510@qq.com 提交于 2023/04/03 -12:00:02

This commit is contained in:
2023-04-03 12:00:14 +08:00
parent 5a4bbd7df2
commit c64091d9c0
3 changed files with 10 additions and 3 deletions

View File

@@ -184,7 +184,8 @@ export default {
// 获取用户信息
getUserInfoData() {
this.$http.post("/widget/getUser").then((res) => {
// this.$http.post("/widget/getUser").then((res) => {
this.$http.post("/api",).then((res) => {
if (res.code != 200) return;
this.userInfo = res.data;
this.islogin = res.data.uid > 0 ? true : false;
@@ -194,6 +195,7 @@ export default {
},
getMenu() {
return
this.$http.get("/widget", {
type: "menu",
}).then((res) => {