用户登录流程开发接口对接
This commit is contained in:
31
pages/store/index.vue
Normal file
31
pages/store/index.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="">店铺</view>
|
||||
<!-- 登录 -->
|
||||
<button type="default" @click="login">登录</button>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import userAuth from '@/public/userAuth'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
login(){
|
||||
let auth = new userAuth()
|
||||
|
||||
auth.Login()
|
||||
// auth.keyLogin()
|
||||
// auth.smsLogin()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user