1
This commit is contained in:
@@ -58,7 +58,7 @@ defineProps({
|
|||||||
},
|
},
|
||||||
primaryText: {
|
primaryText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '微信一键登录'
|
default: '点击登录'
|
||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
@@ -122,6 +122,9 @@ const bindPhone = async (event) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const goHome = () => {
|
const goHome = () => {
|
||||||
|
if (authStorage.getPendingToken()) {
|
||||||
|
session.completeLogin()
|
||||||
|
}
|
||||||
uni.switchTab({ url: '/pages/home/index' })
|
uni.switchTab({ url: '/pages/home/index' })
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user