Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Mar 27, 2024
1 parent 17d0a4e commit bd640cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/login/components/regist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const repeatPasswordRule = [
{
validator: (rule, value, callback) => {
if (value === "") {
callback(new Error(transformI18n($t("login.purePassWordRuleReg"))));
callback(new Error(transformI18n($t("login.purePassWordSureReg"))));
} else if (ruleForm.password !== value) {
callback(
new Error(transformI18n($t("login.purePassWordDifferentReg")))
Expand Down Expand Up @@ -118,7 +118,7 @@ function onBack() {
<el-input
v-model="ruleForm.verifyCode"
clearable
:placeholder="t('login.pureVerifyCode')"
:placeholder="t('login.pureSmsVerifyCode')"
:prefix-icon="useRenderIcon('ri:shield-keyhole-line')"
/>
<el-button
Expand Down
4 changes: 2 additions & 2 deletions src/views/login/components/update.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const repeatPasswordRule = [
{
validator: (rule, value, callback) => {
if (value === "") {
callback(new Error(transformI18n($t("login.purePassWordRuleReg"))));
callback(new Error(transformI18n($t("login.purePassWordSureReg"))));
} else if (ruleForm.password !== value) {
callback(
new Error(transformI18n($t("login.purePassWordDifferentReg")))
Expand Down Expand Up @@ -88,7 +88,7 @@ function onBack() {
<el-input
v-model="ruleForm.verifyCode"
clearable
:placeholder="t('login.pureVerifyCode')"
:placeholder="t('login.pureSmsVerifyCode')"
:prefix-icon="useRenderIcon('ri:shield-keyhole-line')"
/>
<el-button
Expand Down

0 comments on commit bd640cc

Please sign in to comment.