mirror of https://github.com/1Panel-dev/1Panel
fix: 文件列选择取消手动输入
parent
4f60a8464a
commit
cd99173410
|
@ -17,7 +17,7 @@
|
|||
</BreadCrumbs>
|
||||
</div>
|
||||
<div>
|
||||
<el-input :prefix-icon="Search"></el-input>
|
||||
<!-- <el-input :prefix-icon="Search"></el-input> -->
|
||||
<el-table :data="data" highlight-current-row height="40vh">
|
||||
<el-table-column width="40" fix>
|
||||
<template #default="{ row }">
|
||||
|
@ -39,7 +39,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { File } from '@/api/interface/file';
|
||||
import { GetFilesList } from '@/api/modules/files';
|
||||
import { Folder, Search } from '@element-plus/icons-vue';
|
||||
import { Folder } from '@element-plus/icons-vue';
|
||||
import BreadCrumbs from '@/components/bread-crumbs/index.vue';
|
||||
import BreadCrumbItem from '@/components/bread-crumbs/bread-crumbs-item.vue';
|
||||
import { onMounted, onUpdated, reactive, ref } from 'vue';
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('file.compressDst')" prop="dst">
|
||||
<el-input v-model="form.dst">
|
||||
<el-input v-model="form.dst" disabled>
|
||||
<template #append><FileList :path="props.dst" @choose="getLinkPath"></FileList></template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<el-input v-model="name" disabled></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('file.deCompressDst')" prop="dst">
|
||||
<el-input v-model="form.dst">
|
||||
<el-input v-model="form.dst" disabled>
|
||||
<template #append><FileList :path="props.dst" @choose="getLinkPath"></FileList></template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
v-loading="loading"
|
||||
>
|
||||
<el-form-item :label="$t('file.path')" prop="newPath">
|
||||
<el-input v-model="addForm.newPath">
|
||||
<el-input v-model="addForm.newPath" disabled>
|
||||
<template #append><FileList @choose="getPath" :dir="true"></FileList></template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<el-input v-model="addForm.url" @input="getFileName" />
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('file.path')" prop="path">
|
||||
<el-input v-model="addForm.path">
|
||||
<el-input v-model="addForm.path" disabled>
|
||||
<template #append><FileList :path="path" @choose="getPath"></FileList></template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
|
Loading…
Reference in New Issue