You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
486 B
Vue

<template>
<view>
<logins :type="1" :wcCode="wcCode"></logins>
</view>
</template>
<script>
import logins from '@/components/login/logins.vue'
export default {
components: {
logins
},
data() {
return {
wcCode: undefined
};
},
onLoad({ wxcode, state } = {}) {
if (wxcode) {
this.wcCode = wxcode
} else {
if (state) {
return uni.showModal({
title: '提示',
content: '登录失败'
})
}
}
},
methods: {},
};
</script>
<style></style>