fix buttons

This commit is contained in:
jxxghp
2024-06-20 17:40:51 +08:00
parent e8256b4e1a
commit 18f3dc2d44
2 changed files with 33 additions and 10 deletions

View File

@@ -13,6 +13,10 @@ const display = useDisplay()
// 输入参数
const props = defineProps({
storage: {
type: String,
default: () => 'local',
},
paths: Array<string>,
target: String,
logids: Array<number>,
@@ -63,6 +67,7 @@ const dialogTitle = computed(() => {
// 表单
const transferForm = reactive({
storage: props.storage,
logid: 0,
path: '',
target: props.target ?? null,
@@ -210,7 +215,7 @@ onMounted(() => {
<VCardText>
<VForm @submit.prevent="() => {}">
<VRow>
<VCol cols="12" md="8">
<VCol v-if="props.storage == 'local'" cols="12" md="8">
<VCombobox
v-model="transferForm.target"
:items="targetDirectories"
@@ -220,7 +225,7 @@ onMounted(() => {
persistent-hint
/>
</VCol>
<VCol cols="12" md="4">
<VCol v-if="props.storage == 'local'" cols="12" md="4">
<VSelect
v-model="transferForm.transfer_type"
label="整理方式"
@@ -338,7 +343,7 @@ onMounted(() => {
</VCol>
</VRow>
<VRow>
<VCol cols="12" md="6">
<VCol cols="12" md="6" v-if="props.storage == 'local'">
<VSwitch
v-model="transferForm.scrape"
label="刮削元数据"