<template>
	<view>
    首页
  </view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {

		},
    onShow() {
      let that = this
      that.$api.login.loginApp({
        username: 'abc',
        password: '123'
      }).then(res => {
        console.log(res)
      }).catch(err => {
        console.log(err)
      })
    },
	}
</script>

<style lang="scss">

</style>
