优化发布群配置与二维码池界面

This commit is contained in:
yml
2026-06-17 20:59:24 +08:00
parent ac98841992
commit 0a42392d5e
14 changed files with 460 additions and 74 deletions
@@ -34,6 +34,10 @@ const createdURLs: string[] = []
const usePreview = computed(() => !!props.previewSrcList?.length)
const fallbackText = computed(() => (failed.value ? '图片加载失败' : '图片加载中'))
const imageStyleValue = computed(() => {
if (!props.fit) return props.imageStyle
return [props.imageStyle, { objectFit: props.fit }]
})
function extractObjectKey(value: string) {
try {
@@ -105,6 +109,7 @@ onBeforeUnmount(cleanup)
v-else-if="imageURL"
:class="imageClass"
:src="imageURL"
:style="imageStyleValue"
:alt="alt"
:loading="loading"
:decoding="decoding"