例 placeholder 所属公司 转化为英文 可以中英文切换

bug  编号396 【注册】如图,在注册时发送验证码、所属职位暗色提示、用户须知应该是英文的

<el-col :span="10" :offset="1">

<el-button type="primary" v-show="isCodeGo" @click="send" class="inp-but">

<!--获取验证码 -->

      <span>{{$t('Login.GetVerificationCode')}}</span>

</el-button>

<!-- <span v-show="this.isCodeGo===false">{{sixtySecond}}秒可重新发送 -->

    <el-button type="primary" :disabled="hiddenCode" v-show="this.isCodeGo===false"

              style="margin-left:-4px;width:112px;text-align:center;"><span

            style="margin-left:-11px;">{{sixtySecond}}秒后可重发</span>

</el-button>

</el-col>

英文EN.json

"Login":{

"Login":"Login",

"register":"Register",

"Account":" Account",

"Password":" Password",

"UserInstructions":"User instructions",

"GetVerificationCode":"Get verification code",

"lists":{

"mailbox":"mailbox",

"EmailVerificationCode":"Email verification code",

"Password":"Password",

"confirmPassword":"confirmPassword",

"Name":"Name",

"MobilePhone":"MobilePhone",

"Company":"Company",

"Department":"Department",

"Position":"Position",

"button":["Cancel","Register"]

}

},

中文CH.json

"Login":{

"Login":"登 录",

"register":"注 册",

"Account":" 账 号",

"Password":" 密 码",

"UserInstructions":"用户须知",

"GetVerificationCode":"获取验证码",

"lists":{

"mailbox":"邮箱",

"EmailVerificationCode":"邮箱验证码",

"Password":"密码",

"confirmPassword":"再次确认密码",

"Name":"姓名",

"MobilePhone":"手机号",

"Company":"所属公司",

"Department":"所属部门",

"Position":"所属职位",

"button":["取 消","注 册"]

}

},

HTML    placeholder所属公司 转化为英文 可以中英文切换

<!-- 所属公司 -->

<el-select v-model="companiesType" size="small" @change="switchChange(companiesType)"

          class="opencorelanding-right-set" :placeholder="$store.state.info_language?'Affiliated company':'所属公司'"

          style="width:310px">

<el-option

            v-for="(item,index) incompanies"

            :key="item.value"

            :label="item.lable"

            :value="item.type"

    >

</el-option>

</el-select>

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容