前端对接接口

This commit is contained in:
橙子
2021-10-31 16:47:53 +08:00
parent 35f39eb65b
commit b299a7e41b
12 changed files with 35 additions and 40 deletions

View File

@@ -53,8 +53,8 @@ import userApi from '@/api/userApi'
export default {
methods: {
init(){
userApi.GetMenuByUserId().then((resp)=>{
this.items=resp.data;
userApi.GetMenuByHttpUser().then((resp)=>{
this.items=resp.data.children;
})
},
logout() {