tj
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
/>
|
||||
<span>使用外呼</span>
|
||||
</template>
|
||||
<el-radio-group v-model="form.usePhoneConfig">
|
||||
<el-radio-group
|
||||
v-model="form.usePhoneConfig"
|
||||
:disabled="getConfig('usePhoneConfig').modifiable == 'false'"
|
||||
>
|
||||
<el-radio
|
||||
v-for="(item, index) in getConfig('usePhoneConfig').options"
|
||||
:key="index"
|
||||
|
||||
@@ -50,9 +50,9 @@
|
||||
<!-- 账号登录 -->
|
||||
<LoginForm class="p-20px h-auto m-auto <xl:(rounded-3xl light:bg-white)" />
|
||||
<!-- 手机登录 -->
|
||||
<MobileForm class="p-20px h-auto m-auto <xl:(rounded-3xl light:bg-white)" />
|
||||
<!-- <MobileForm class="p-20px h-auto m-auto <xl:(rounded-3xl light:bg-white)" /> -->
|
||||
<!-- 二维码登录 -->
|
||||
<QrCodeForm class="p-20px h-auto m-auto <xl:(rounded-3xl light:bg-white)" />
|
||||
<!-- <QrCodeForm class="p-20px h-auto m-auto <xl:(rounded-3xl light:bg-white)" /> -->
|
||||
<!-- 注册 -->
|
||||
<!-- <RegisterForm class="p-20px h-auto m-auto <xl:(rounded-3xl light:bg-white)" /> -->
|
||||
<!-- 三方登录 -->
|
||||
@@ -70,7 +70,7 @@ import { useDesign } from '@/hooks/web/useDesign'
|
||||
import { useAppStore } from '@/store/modules/app'
|
||||
import { ThemeSwitch } from '@/layout/components/ThemeSwitch'
|
||||
|
||||
import { LoginForm, MobileForm, QrCodeForm } from './components'
|
||||
import { LoginForm } from './components'
|
||||
|
||||
import soups from './components/soup.js'
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
mode="pop"
|
||||
@success="handleLogin"
|
||||
/>
|
||||
<el-col :span="24" style="padding-left: 10px; padding-right: 10px">
|
||||
<el-col v-if="showOtherLogin" :span="24" style="padding-left: 10px; padding-right: 10px">
|
||||
<el-form-item>
|
||||
<el-row :gutter="5" justify="space-between" style="width: 100%">
|
||||
<el-col :span="12">
|
||||
@@ -131,6 +131,7 @@ const verify = ref()
|
||||
const captchaType = ref('blockPuzzle') // blockPuzzle 滑块 clickWord 点击文字
|
||||
|
||||
const getShow = computed(() => unref(getLoginState) === LoginStateEnum.LOGIN)
|
||||
const showOtherLogin = false
|
||||
|
||||
const LoginRules = {
|
||||
username: [required],
|
||||
|
||||
@@ -61,6 +61,8 @@ const bindSocial = () => {
|
||||
})
|
||||
}
|
||||
const bind = (row) => {
|
||||
message.info('暂未开放,敬请期待')
|
||||
return
|
||||
const redirectUri = location.origin + '/user/profile?type=' + row.type
|
||||
// 进行跳转
|
||||
socialAuthRedirect(row.type, encodeURIComponent(redirectUri)).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user