shinnosuke
2026-08-04 e7a2748aa8bab8e753fe3a4f86893e59005674f1
fix: always show talent login back button
1个文件已修改
4 ■■■■■ 已修改文件
rencaika/pages/login/login.uvue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rencaika/pages/login/login.uvue
@@ -2,7 +2,7 @@
    <view class="page">
        <view class="glow glow-top"></view><view class="glow glow-left"></view><view class="glow glow-right"></view>
        <view class="safe-space"></view>
        <view v-if="canGoBack" class="back" @tap="goBack"><text>‹</text></view>
        <view class="back" @tap="goBack"><text>‹</text></view>
        <view class="main-content">
            <view class="hero-row">
@@ -21,11 +21,9 @@
    import { developmentLoginBypassEnabled } from '../../config/api.uts'
    const agreed = ref(false)
    const canGoBack = ref(false)
    const isLoggingIn = ref(false)
    const redirectUrl = ref('')
    onLoad((options: any) => {
        canGoBack.value = getCurrentPages().length > 1
        if (options != null && options['redirect'] != null) { const value = decodeURIComponent(options['redirect'] as string); if (value.indexOf('/pages/') == 0 && value.indexOf('//') == -1) redirectUrl.value = value }
        if (developmentLoginBypassEnabled) {
            isLoggingIn.value = true