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

View File

@ -23,10 +23,10 @@
</el-form-item>
<el-form-item label="" style="position: relative" prop="CheckCode">
<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"
@click.stop="setNewUserCheckCode">
<el-button :disabled="!userForm.CheckCode || userForm.CheckCode.length != 6" class="saveBtn" type="primary"
size="small" @click.stop="setNewUserCheckCode">
{{ $t("trials:trials-myinfo:button:update") }}
</el-button>
</el-form-item>