|
@@ -44,7 +44,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="statusbar-right">
|
|
<div class="statusbar-right">
|
|
|
<ul>
|
|
<ul>
|
|
|
- <li>
|
|
|
|
|
|
|
+ <li v-if="!showLoginAlert">
|
|
|
<el-popover trigger="hover" :title="t('account.formula')" :content="t('account.tips1')" :width="220">
|
|
<el-popover trigger="hover" :title="t('account.formula')" :content="t('account.tips1')" :width="220">
|
|
|
<template #reference>
|
|
<template #reference>
|
|
|
<span :class="accountStore.currentAccount.hazardRatioColor" style="cursor: pointer;">{{
|
|
<span :class="accountStore.currentAccount.hazardRatioColor" style="cursor: pointer;">{{
|
|
@@ -53,7 +53,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
</el-popover>
|
|
</el-popover>
|
|
|
</li>
|
|
</li>
|
|
|
- <li>
|
|
|
|
|
|
|
+ <li v-if="!showLoginAlert">
|
|
|
<el-popover trigger="hover" :title="t('account.formula')" :content="t('account.tips2')" :width="280">
|
|
<el-popover trigger="hover" :title="t('account.formula')" :content="t('account.tips2')" :width="280">
|
|
|
<template #reference>
|
|
<template #reference>
|
|
|
<span :class="accountStore.currentAccount.hazardRatioColor" style="cursor: pointer;">{{
|
|
<span :class="accountStore.currentAccount.hazardRatioColor" style="cursor: pointer;">{{
|
|
@@ -114,6 +114,9 @@ const serverTime = ref<Moment>()
|
|
|
const meta = document.getElementsByTagName('meta')
|
|
const meta = document.getElementsByTagName('meta')
|
|
|
const version = meta.namedItem('revised')?.content ?? '0'
|
|
const version = meta.namedItem('revised')?.content ?? '0'
|
|
|
|
|
|
|
|
|
|
+// 是否需要弹出提示信息
|
|
|
|
|
+const showLoginAlert = globalStore.getSystemInfo('showLoginAlert')
|
|
|
|
|
+
|
|
|
const { t } = i18n.global
|
|
const { t } = i18n.global
|
|
|
|
|
|
|
|
// 手动给组件添加 name 属性,处理缓存 exclude 无效的问题
|
|
// 手动给组件添加 name 属性,处理缓存 exclude 无效的问题
|