接口请求

This commit is contained in:
2020-10-10 08:59:54 +08:00
parent 0f29972dee
commit 8bf7b662d5
4 changed files with 29 additions and 3 deletions

View File

@@ -117,6 +117,7 @@
}
</style>
<script lang="ts">
import { userinfo } from '@/api';
import router from '@/router';
import { defineComponent, ref } from 'vue';
@@ -181,6 +182,10 @@ export default defineComponent({
})
}
userinfo().then((res)=>{
console.log(res)
})
return{
list,
routeto,