| | |
| | | # VUE_APP_API_BASE_URL=https://api.ispentagon-institution.com/ |
| | | # VUE_APP_API_BASE_URL= https://www.prudentcapitals.net/ |
| | | # VUE_APP_API_BASE_URL=https://api.guosen.org/ |
| | | VUE_APP_API_BASE_URL = https://api.greenbackcaps.top/ |
| | | VUE_APP_API_BASE_URL = https://api.nalandacapital.shop/ |
| | |
| | | |
| | | VUE_APP_PREVIEW=true |
| | | |
| | | VUE_APP_API_BASE_URL=https://api.durocapital.top/ |
| | | VUE_APP_API_BASE_URL=https://api.nalandacapital.shop/ |
| | | |
| | | # VUE_APP_API_BASE_URL=http://192.168.10.4:8091/ |
| | |
| | | <a-icon slot="prefix" type="lock" :style="{ color: 'rgba(0,0,0,.25)' }" /> |
| | | </a-input-password> |
| | | </a-form-item> |
| | | |
| | | <a-form-item> |
| | | <a-input |
| | | size="large" |
| | | type="number" |
| | | placeholder="请输入谷歌验证码" |
| | | v-decorator="[ |
| | | 'googleAuthCode', |
| | | { rules: [], validateTrigger: 'change' } |
| | | ]"> |
| | | </a-input> |
| | | </a-form-item> |
| | | </a-tab-pane> |
| | | <!-- <a-tab-pane key="tab2" :tab="$t('user.login.tab-login-mobile')"> |
| | | <a-form-item> |
| | |
| | | |
| | | state.loginBtn = true |
| | | |
| | | const validateFieldsKey = customActiveKey === 'tab1' ? ['username', 'password'] : ['mobile', 'captcha'] |
| | | const validateFieldsKey = customActiveKey === 'tab1' ? ['username', 'password' ,'googleAuthCode'] : ['mobile', 'captcha'] |
| | | |
| | | validateFields(validateFieldsKey, { force: true }, (err, values) => { |
| | | if (!err) { |
| | |
| | | const loginParams = {} |
| | | loginParams.adminPhone = values.username |
| | | loginParams.adminPwd = values.password |
| | | loginParams.googleAuthCode = values.googleAuthCode |
| | | loginParams.verifyCode = 1234 |
| | | Login(loginParams) |
| | | .then((res) => this.loginSuccess(res)) |