File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ import NotificationPanel from '~/components/NotificationPanel.vue'
109109import NotificationBubble from ' ~/components/NotificationBubble.vue'
110110import { ref , onMounted , watch } from ' vue'
111111import { useI18n } from ' vue-i18n'
112+ import { useRuntimeConfig } from ' #app'
112113
113114const { t } = useI18n ()
114115
@@ -130,6 +131,13 @@ function getImagePath(imagePath: string) {
130131 return ` ${baseURL }${imagePath } `
131132}
132133
134+ // Функция для обработки ошибок загрузки изображений
135+ function handleImageError(event : Event ) {
136+ const img = event .target as HTMLImageElement
137+ console .warn (` Failed to load image: ${img .src } ` )
138+ // Можно добавить fallback изображение или скрыть элемент
139+ }
140+
133141// Автоматическое создание окон на сервере
134142openWindow ({
135143 id: ' readme-window' ,
You can’t perform that action at this time.
0 commit comments