feat: 动态替换图片

This commit is contained in:
2026-05-26 12:03:03 +08:00
parent a479aa7d0d
commit 9cc7c21529
3 changed files with 9 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
</template>
<script setup>
import { ossChengduUrl } from "@/request/base/baseUrl";
const props = defineProps({
hasMessage: {
@@ -25,7 +26,7 @@ const props = defineProps({
// 图片路径
imageSrc: {
type: String,
default: '/static/come_chat_image.png'
default: `${ossChengduUrl()}come_chat_image.png`
},
// 主标题
mainTitle: {