fix: 文件列选择取消手动输入

pull/59/head
zhengkunwang223 2022-12-02 17:26:12 +08:00 committed by zhengkunwang223
parent 4f60a8464a
commit cd99173410
5 changed files with 6 additions and 6 deletions

View File

@ -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';

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>