remove 手机号

This commit is contained in:
caishi 2023-05-12 17:03:01 +08:00
parent f5b32f6b25
commit 924a4f88d2
5 changed files with 8 additions and 8 deletions

View File

@ -25,7 +25,7 @@ if (isDev) {
}
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || ''
}
window._debugType = debugType;
export function initAxiosInterceptors(props) {

View File

@ -525,7 +525,7 @@ class LoginDialog extends Component {
}
value={this.state.loginValue}
name="username"
placeholder="请输入手机号/邮箱/用户名" ></input>
placeholder="请输入邮箱/用户名" ></input>
<div style={{ height: '25px' }}><p className="color-orange edu-txt-left none" id="username_error_notice"
style={{ display: Phonenumberisnotco === undefined ? 'none' : 'block' }}>{Phonenumberisnotco}</p></div>

View File

@ -241,7 +241,7 @@ class Loginqq extends Component {
<Header>已有EduCoder账号可以输入您的账号和密码将您的微信账号与EduCoder账号进行绑定</Header>
<Content className={"wechatContents"}>
<Input placeholder="请输入手机号/邮箱/登录名"
<Input placeholder="请输入邮箱/登录名"
value={this.state.login}
onInput={this.loginInputonChange}
className={this.state.logintypes==="username"?"bor-red mb20 wechatpass":" mb20 wechatpass"}

View File

@ -230,7 +230,7 @@ class Otherlogin extends Component {
<Layout>
<Header className={"wexinHeader"}>为了更好的为您服务请输入您的账号和密码将您的微信账号与EduCoder账号进行绑定</Header>
<Content className={"wechatContent mt50"}>
<Input placeholder="请输入手机号/邮箱/登录名"
<Input placeholder="请输入邮箱/登录名"
value={this.state.login}
onInput={this.loginInputonChange}
className={this.state.logintypes==="username"?"bor-red mb20 wechatpass":" mb20 wechatpass"}

View File

@ -82,7 +82,7 @@ function ResetPassword(props) {
callback();
} else {
setGetCaptchaBut(false);
callback('此手机号/邮箱未注册');
callback('此邮箱未注册');
}
})
}else{
@ -90,7 +90,7 @@ function ResetPassword(props) {
}
setEmailStr(undefined);
}else{
callback("请输入正确的手机号/邮箱")
callback("请输入正确的邮箱")
}
}
@ -205,7 +205,7 @@ function ResetPassword(props) {
rules: [
{
required: true,
message: "请输入已注册的手机号/邮箱"
message: "请输入已注册的邮箱"
},
{
validator: (rule, value, callback) => { emailConfirm(rule, value, callback) }
@ -213,7 +213,7 @@ function ResetPassword(props) {
],
validateTrigger: "onBlur",
validateFirst: true,
})(<Input ref={inputEl} className="account" placeholder="请输入已注册的手机号/邮箱" autoComplete="off"/>)}
})(<Input ref={inputEl} className="account" placeholder="请输入已注册的邮箱" autoComplete="off"/>)}
</Form.Item>
<Form.Item>