YNEduApp/pages/index/index.vue

37 lines
446 B
Vue
Raw Normal View History

2024-08-05 09:23:52 +08:00
<template>
2024-08-05 11:08:50 +08:00
<view>
首页
</view>
2024-08-05 09:23:52 +08:00
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
},
methods: {
2024-08-05 11:08:50 +08:00
},
onShow() {
let that = this
that.$api.login.loginApp({
username: 'abc',
password: '123'
}).then(res => {
console.log(res)
}).catch(err => {
console.log(err)
})
},
2024-08-05 09:23:52 +08:00
}
</script>
2024-08-05 11:08:50 +08:00
<style lang="scss">
2024-08-05 09:23:52 +08:00
</style>