1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-09 09:40:21 +08:00

style: lint

This commit is contained in:
zclzone
2024-06-06 18:05:36 +08:00
parent 98f9d5893a
commit a67510fe34
72 changed files with 542 additions and 389 deletions

View File

@@ -18,7 +18,9 @@
<n-upload-dragger>
<div class="h-150 f-c-c flex-col">
<i class="i-mdi:upload mb-12 text-68 color-primary" />
<n-text class="text-14 color-gray">点击或者拖动文件到该区域来上传</n-text>
<n-text class="text-14 color-gray">
点击或者拖动文件到该区域来上传
</n-text>
</div>
</n-upload-dragger>
</n-upload>
@@ -31,7 +33,9 @@
<n-image width="200" :src="item.url" />
</div>
<n-space class="mt-16" justify="space-evenly">
<n-button dashed type="primary" @click="copy(item.url)">url</n-button>
<n-button dashed type="primary" @click="copy(item.url)">
url
</n-button>
<n-button dashed type="primary" @click="copy(`![${item.fileName}](${item.url})`)">
MD
</n-button>
@@ -53,6 +57,7 @@
<script setup>
import { useClipboard } from '@vueuse/core'
defineOptions({ name: 'ImgUpload' })
const { copy, copied } = useClipboard()