问题修复
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-09-11 13:54:16 +08:00
parent f5395a425a
commit 7f713f2cfc
2 changed files with 13 additions and 7 deletions

View File

@ -220,9 +220,14 @@ export default {
if (!this.users || this.users.length <= 0) return '' if (!this.users || this.users.length <= 0) return ''
let str = '' let str = ''
this.users.forEach((item, index) => { this.users.forEach((item, index) => {
str += `${item.UserName}(${item.UserTypeShortName})` if (index === 0) {
if (index < this.users.length - 1) { str += `${item.UserName}(`
str += '; ' }
if (index === this.users.length - 1) {
str += `${item.UserTypeShortName})`
} else {
str += `${item.UserTypeShortName}`
} }
}) })
return str return str
@ -327,7 +332,8 @@ export default {
obj.sendDisabled = true; obj.sendDisabled = true;
obj.sendTitle = `${this.$t( obj.sendTitle = `${this.$t(
"passwordReset:button:wait" "passwordReset:button:wait"
)}(${countdown}s)`; )
} (${countdown}s)`;
countdown--; countdown--;
// eslint-disable-next-line no-self-assign // eslint-disable-next-line no-self-assign
countdown = countdown; countdown = countdown;

View File

@ -23,10 +23,10 @@
</el-form-item> </el-form-item>
<el-form-item label="" style="position: relative" prop="CheckCode"> <el-form-item label="" style="position: relative" prop="CheckCode">
<el-input v-model="userForm.CheckCode" :placeholder="$t('trials:researchForm:form:checkCode')" :maxlength="6" <el-input v-model="userForm.CheckCode" :placeholder="$t('trials:researchForm:form:checkCode')" :maxlength="6"
type="number" /> :title="this.$t('recompose:tip:inputCheckCode')" type="number" />
<!-- 修改 --> <!-- 修改 -->
<el-button :disabled="!userForm.CheckCode" class="saveBtn" type="primary" size="small" <el-button :disabled="!userForm.CheckCode || userForm.CheckCode.length != 6" class="saveBtn" type="primary"
@click.stop="setNewUserCheckCode"> size="small" @click.stop="setNewUserCheckCode">
{{ $t("trials:trials-myinfo:button:update") }} {{ $t("trials:trials-myinfo:button:update") }}
</el-button> </el-button>
</el-form-item> </el-form-item>