feat: 修改翻译

pull/122/head
zhengkunwang223 2023-02-09 14:47:30 +08:00 committed by zhengkunwang223
parent b002614759
commit 26535ebc09
3 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<el-popover placement="right" :width="400" trigger="click" :title="'文件列表'"> <el-popover placement="right" :width="400" trigger="click" :title="$t('file.list')">
<template #reference> <template #reference>
<el-button :icon="Folder"></el-button> <el-button :icon="Folder"></el-button>
</template> </template>
@ -17,7 +17,6 @@
</BreadCrumbs> </BreadCrumbs>
</div> </div>
<div> <div>
<!-- <el-input :prefix-icon="Search"></el-input> -->
<el-table :data="data" highlight-current-row height="40vh"> <el-table :data="data" highlight-current-row height="40vh">
<el-table-column width="40" fix> <el-table-column width="40" fix>
<template #default="{ row }"> <template #default="{ row }">

View File

@ -707,6 +707,7 @@ export default {
infoDetail: '', infoDetail: '',
type: '', type: '',
root: '', root: '',
list: '',
}, },
setting: { setting: {
all: '', all: '',

View File

@ -7,9 +7,7 @@
<el-row type="flex" justify="center"> <el-row type="flex" justify="center">
<el-col :span="22"> <el-col :span="22">
<el-form-item :label="$t('commons.table.type')" prop="type" :rules="Rules.requiredSelect"> <el-form-item :label="$t('commons.table.type')" prop="type" :rules="Rules.requiredSelect">
<div style="margin-left: 10px">
<el-tag>{{ dialogData.rowData!.type }}</el-tag> <el-tag>{{ dialogData.rowData!.type }}</el-tag>
</div>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-if="dialogData.rowData!.type === 'LOCAL'" v-if="dialogData.rowData!.type === 'LOCAL'"
@ -18,7 +16,7 @@
:rules="Rules.requiredInput" :rules="Rules.requiredInput"
> >
<el-input v-model="dialogData.rowData!.varsJson['dir']"> <el-input v-model="dialogData.rowData!.varsJson['dir']">
<template #append> <template #prepend>
<FileList @choose="loadDir" :dir="true"></FileList> <FileList @choose="loadDir" :dir="true"></FileList>
</template> </template>
</el-input> </el-input>