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() { onLoad() {
this.getInfo() // this.getInfo()
}, },
methods: { methods: {
getInfo() { //-----------示例------------
this.$api.getUserInfo().then(res => { // getInfo() {
console.log('userInfo', res); // this.$api.getUserInfo().then(res => {
}) // console.log('userInfo', res);
} // })
// }
} }
} }
</script> </script>