mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Fix translation issues and multi-line input form issues
This commit is contained in:
parent
ab434b0a9e
commit
c4e70be7b4
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ export default {
|
|||
RadioCard: '選項卡',
|
||||
RadioRow: '單行選項卡',
|
||||
UploadInput: '文件上傳',
|
||||
TextareaInput: '多行文字方塊',
|
||||
TextareaInput: '多行文字框',
|
||||
MultiRow: '單行多選卡',
|
||||
},
|
||||
default: {
|
||||
|
|
|
|||
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue