bugfix: 引用图片预览&projectID传值

This commit is contained in:
2026-03-27 09:57:41 +08:00
parent cbd1796192
commit 3593a5ee4d
2 changed files with 10 additions and 11 deletions

View File

@@ -14,7 +14,7 @@
<img
:src="image.url || image"
class="preview-image"
@click="previewImage(image.url)"
@click="previewImage(image.url || image)"
/>
<div class="image-remove-btn" @click="removeImage(index, image)">
<SvgIcon name="delete" size="16" />
@@ -824,7 +824,7 @@
const handleQuote = (url: string) => {
const hasQuoted = quoteList.value.includes(url)
if (hasQuoted) return
quoteList.value.push(url)
quoteList.value[0] = url
}
onUnmounted(() => {
MyEvent.remove('quote', handleQuote)
@@ -1066,10 +1066,11 @@
width: 13rem;
color: #fff;
border-radius: 4.2rem;
font-family: 'MSemiBold';
font-family: 'SemiBold';
font-weight: 600;
font-size: 1.28rem;
font-size: 1.3rem;
cursor: pointer;
column-gap: 0.3rem;
.shining-icon {
width: 1.4rem;
height: 1.4rem;