add tooltip to notification

This commit is contained in:
MaysWind
2024-08-27 23:13:27 +08:00
parent 366fbff012
commit df076b563a
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -3,8 +3,9 @@
<v-app>
<router-view />
</v-app>
<v-snackbar color="notification-background" location="top"
<v-snackbar class="cursor-pointer" color="notification-background" location="top"
:multi-line="true" :timeout="-1" :close-on-content-click="true" v-model="showNotification">
<v-tooltip activator="parent">{{ $t('Click to close') }}</v-tooltip>
<div class="d-inline-flex">
<img alt="logo" class="notification-logo" :src="ezBookkeepingLogoPath" />
<span class="ml-2">{{ $t('global.app.title') }}</span>
+2 -1
View File
@@ -1752,5 +1752,6 @@
"License": "License",
"An error occurred": "An error occurred",
"Parameter Invalid": "Parameter Invalid",
"Numeric Overflow": "Numeric Overflow"
"Numeric Overflow": "Numeric Overflow",
"Click to close": "Click to close"
}
+2 -1
View File
@@ -1752,5 +1752,6 @@
"License": "许可协议",
"An error occurred": "发生错误",
"Parameter Invalid": "参数错误",
"Numeric Overflow": "数值溢出"
"Numeric Overflow": "数值溢出",
"Click to close": "点击关闭"
}