This commit is contained in:
dengj
2023-10-19 09:53:46 +08:00
parent 50bbdb7974
commit ca0604cb20

View File

@@ -12,14 +12,15 @@
}
},
onLoad() {
this.getInfo()
// this.getInfo()
},
methods: {
getInfo() {
this.$api.getUserInfo().then(res => {
console.log('userInfo', res);
})
}
//-----------示例------------
// getInfo() {
// this.$api.getUserInfo().then(res => {
// console.log('userInfo', res);
// })
// }
}
}
</script>