diff --git a/packages/client/src/components/global/page-header.vue b/packages/client/src/components/global/page-header.vue index 766f9b6b6..106e216b9 100644 --- a/packages/client/src/components/global/page-header.vue +++ b/packages/client/src/components/global/page-header.vue @@ -18,7 +18,7 @@
- @@ -27,7 +27,7 @@
diff --git a/packages/client/src/directives/tooltip.ts b/packages/client/src/directives/tooltip.ts index e1b85291b..8b68771ca 100644 --- a/packages/client/src/directives/tooltip.ts +++ b/packages/client/src/directives/tooltip.ts @@ -7,10 +7,11 @@ import { popup, alert } from '@/os'; const start = isTouchUsing ? 'touchstart' : 'mouseover'; const end = isTouchUsing ? 'touchend' : 'mouseleave'; -const delay = 100; export default { mounted(el: HTMLElement, binding, vn) { + const delay = binding.modifiers.noDelay ? 0 : 100; + const self = (el as any)._tooltipDirective_ = {} as any; self.text = binding.value as string; diff --git a/packages/client/src/pages/admin/_header_.vue b/packages/client/src/pages/admin/_header_.vue index aea2663c3..b2c33fdc9 100644 --- a/packages/client/src/pages/admin/_header_.vue +++ b/packages/client/src/pages/admin/_header_.vue @@ -9,7 +9,7 @@
- @@ -20,7 +20,7 @@
diff --git a/packages/client/src/ui/_common_/navbar-for-mobile.vue b/packages/client/src/ui/_common_/navbar-for-mobile.vue index cae1d2530..d1b4c30b3 100644 --- a/packages/client/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/client/src/ui/_common_/navbar-for-mobile.vue @@ -3,7 +3,7 @@
-
diff --git a/packages/client/src/ui/_common_/navbar.vue b/packages/client/src/ui/_common_/navbar.vue index 930ba7932..3eb8c5a37 100644 --- a/packages/client/src/ui/_common_/navbar.vue +++ b/packages/client/src/ui/_common_/navbar.vue @@ -3,12 +3,12 @@
-
- + {{ i18n.ts.timeline }}
- + {{ i18n.ts.controlPanel }} - + {{ i18n.ts.settings }}
- -