fix: Fix translation issues and multi-line input form issues

This commit is contained in:
wangdan-fit2cloud 2025-10-30 15:35:52 +08:00
parent ab434b0a9e
commit c4e70be7b4
3 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@
:minlength="formValue.minlength"
:placeholder="$t('dynamicsForm.default.placeholder')"
show-word-limit
:autosize="{ minRows: 3, maxRows: 3 }"
:rows="3"
type="textarea"
/>
</el-form-item>
@ -113,7 +113,7 @@ const getData = () => {
maxlength: formValue.value.maxlength,
minlength: formValue.value.minlength,
'show-word-limit': true,
autosize: { minRows: 3, maxRows: 3 },
rows: 3,
},
default_value: formValue.value.default_value,
show_default_value: formValue.value.show_default_value,

View File

@ -11,7 +11,7 @@ export default {
RadioCard: '選項卡',
RadioRow: '單行選項卡',
UploadInput: '文件上傳',
TextareaInput: '多行文字方塊',
TextareaInput: '多行文字',
MultiRow: '單行多選卡',
},
default: {

View File

@ -122,8 +122,8 @@ async function changeState(row: any) {
is_active: !row.is_active,
}
const str = obj.is_active
? t('views.applicationOverview.appInfo.APIKeyDialog.enabledSuccess')
: t('views.applicationOverview.appInfo.APIKeyDialog.disabledSuccess')
? t('common.status.enabled')
: t('common.status.disabled')
await loadSharedApi({ type: 'applicationKey', systemType: apiType.value })
.putAPIKey(id as string, row.id, obj, loading)
.then(() => {