fix: Fix translation issues and multi-line input form issues
parent
ab434b0a9e
commit
c4e70be7b4
|
|
@ -78,7 +78,7 @@
|
||||||
:minlength="formValue.minlength"
|
:minlength="formValue.minlength"
|
||||||
:placeholder="$t('dynamicsForm.default.placeholder')"
|
:placeholder="$t('dynamicsForm.default.placeholder')"
|
||||||
show-word-limit
|
show-word-limit
|
||||||
:autosize="{ minRows: 3, maxRows: 3 }"
|
:rows="3"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -113,7 +113,7 @@ const getData = () => {
|
||||||
maxlength: formValue.value.maxlength,
|
maxlength: formValue.value.maxlength,
|
||||||
minlength: formValue.value.minlength,
|
minlength: formValue.value.minlength,
|
||||||
'show-word-limit': true,
|
'show-word-limit': true,
|
||||||
autosize: { minRows: 3, maxRows: 3 },
|
rows: 3,
|
||||||
},
|
},
|
||||||
default_value: formValue.value.default_value,
|
default_value: formValue.value.default_value,
|
||||||
show_default_value: formValue.value.show_default_value,
|
show_default_value: formValue.value.show_default_value,
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ export default {
|
||||||
RadioCard: '選項卡',
|
RadioCard: '選項卡',
|
||||||
RadioRow: '單行選項卡',
|
RadioRow: '單行選項卡',
|
||||||
UploadInput: '文件上傳',
|
UploadInput: '文件上傳',
|
||||||
TextareaInput: '多行文字方塊',
|
TextareaInput: '多行文字框',
|
||||||
MultiRow: '單行多選卡',
|
MultiRow: '單行多選卡',
|
||||||
},
|
},
|
||||||
default: {
|
default: {
|
||||||
|
|
|
||||||
|
|
@ -122,8 +122,8 @@ async function changeState(row: any) {
|
||||||
is_active: !row.is_active,
|
is_active: !row.is_active,
|
||||||
}
|
}
|
||||||
const str = obj.is_active
|
const str = obj.is_active
|
||||||
? t('views.applicationOverview.appInfo.APIKeyDialog.enabledSuccess')
|
? t('common.status.enabled')
|
||||||
: t('views.applicationOverview.appInfo.APIKeyDialog.disabledSuccess')
|
: t('common.status.disabled')
|
||||||
await loadSharedApi({ type: 'applicationKey', systemType: apiType.value })
|
await loadSharedApi({ type: 'applicationKey', systemType: apiType.value })
|
||||||
.putAPIKey(id as string, row.id, obj, loading)
|
.putAPIKey(id as string, row.id, obj, loading)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue