|
@@ -31,6 +31,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="app-page__statusbar">
|
|
<div class="app-page__statusbar">
|
|
|
<div class="statusbar-left">
|
|
<div class="statusbar-left">
|
|
|
|
|
+ <span style="font-size: 12px;color: #444f57;padding: 0 5px;">v1.0.{{ version }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="statusbar-right">
|
|
<div class="statusbar-right">
|
|
|
<ul>
|
|
<ul>
|
|
@@ -70,6 +71,9 @@ const loginStore = useLoginStore()
|
|
|
const isCollapse = ref(globalStore.isMobile)
|
|
const isCollapse = ref(globalStore.isMobile)
|
|
|
const serverTime = ref<Moment>()
|
|
const serverTime = ref<Moment>()
|
|
|
|
|
|
|
|
|
|
+const meta = document.getElementsByTagName('meta')
|
|
|
|
|
+const version = meta.namedItem('revised')?.content ?? '0'
|
|
|
|
|
+
|
|
|
// 手动给组件添加 name 属性,处理缓存 exclude 无效的问题
|
|
// 手动给组件添加 name 属性,处理缓存 exclude 无效的问题
|
|
|
const handleComponent = (component: Record<'type', { name: RouteRecordName | undefined }>, route: RouteRecordNormalized) => {
|
|
const handleComponent = (component: Record<'type', { name: RouteRecordName | undefined }>, route: RouteRecordNormalized) => {
|
|
|
if (component) {
|
|
if (component) {
|