Skip to content

Commit

Permalink
Update UploadForm.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
jokyo1 authored Sep 10, 2024
1 parent 3d6591b commit 9a11210
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/UploadForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@
</div>
</div>

<div v-if="allLinks">
<el-input v-model="allLinks" size="small" readonly @focus="selectAllText" type="textarea" :rows="4">
<template #prepend>URL:</template>
</el-input>
<el-button type="primary" @click="copyAllLinks">复制</el-button>
</div>
<div v-if="allLinks" style="display: flex; align-items: center;">
<el-input v-model="allLinks" size="small" readonly @focus="selectAllText" type="textarea" :rows="4" style="flex: 1; margin-right: 10px;">
<template #prepend>URL:</template>
</el-input>
<el-button type="primary" @click="copyAllLinks">复制</el-button>
</div>

<div class="upload-list-item" v-for="file in fileList" :key="file.name" :span="8">
<a :href="file.url" target="_blank">
<img
Expand Down

0 comments on commit 9a11210

Please sign in to comment.