mirror of https://github.com/1Panel-dev/1Panel
feat: 修改翻译
parent
b002614759
commit
26535ebc09
|
@ -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 }">
|
||||||
|
|
|
@ -707,6 +707,7 @@ export default {
|
||||||
infoDetail: '文件属性',
|
infoDetail: '文件属性',
|
||||||
type: '类型',
|
type: '类型',
|
||||||
root: '根目录',
|
root: '根目录',
|
||||||
|
list: '文件列表',
|
||||||
},
|
},
|
||||||
setting: {
|
setting: {
|
||||||
all: '全部',
|
all: '全部',
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue