|
@@ -346,7 +346,7 @@
|
|
|
const loginForm = ref()
|
|
|
const cardForm = ref()
|
|
|
const login = async () => {
|
|
|
- if (loginAgree.value || config.value.lang === 'en') {
|
|
|
+ // if (loginAgree.value || config.value.lang === 'en') {
|
|
|
loginForm.value
|
|
|
.validate()
|
|
|
.then(async () => {
|
|
@@ -368,18 +368,18 @@
|
|
|
}
|
|
|
})
|
|
|
.catch(() => {})
|
|
|
- } else {
|
|
|
- Modal.confirm({
|
|
|
- title: '提示',
|
|
|
- content: '请阅读并勾选《用户服务协议》和《用户隐私政策》!',
|
|
|
- centered: true,
|
|
|
- width: 420,
|
|
|
- icon: createVNode(ExclamationCircleOutlined),
|
|
|
- maskClosable: false,
|
|
|
- onOk() {},
|
|
|
- onCancel() {}
|
|
|
- })
|
|
|
- }
|
|
|
+ // } else {
|
|
|
+ // Modal.confirm({
|
|
|
+ // title: '提示',
|
|
|
+ // content: '请阅读并勾选《用户服务协议》和《用户隐私政策》!',
|
|
|
+ // centered: true,
|
|
|
+ // width: 420,
|
|
|
+ // icon: createVNode(ExclamationCircleOutlined),
|
|
|
+ // maskClosable: false,
|
|
|
+ // onOk() {},
|
|
|
+ // onCancel() {}
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
const cardLogin = async () => {
|
|
|
if (loginAgree.value) {
|