修改云南测试用例

This commit is contained in:
guanj
2025-07-31 15:55:33 +08:00
parent ba1cee110a
commit 8d613f7a57
11 changed files with 77 additions and 69 deletions

View File

@@ -8,9 +8,10 @@
size="18"
/>
</div>
<span class="nav-bar-title">{{ getTheme.name }}
<span style="font-size: 14px;" >
(v1.0.1)
<span class="nav-bar-title">
{{ getTheme.name }}
<span style="font-size: 14px">
({{ Version||'v1.0.0' }})
</span>
<!-- <span style="font-size: 14px;" v-if="Version?.versionName">
({{ Version?.versionName }})
@@ -26,7 +27,8 @@ import NavTabs from '@/layouts/admin/components/navBar/tabs.vue'
import NavMenus from '../navMenus.vue'
import { showShade } from '@/utils/pageShade'
import { getLastData } from '@/api/systerm'
const Version: any = ref({})
const Version: any = ref('')
const config = useConfig()
const getTheme = JSON.parse(window.localStorage.getItem('getTheme') as string)
@@ -37,10 +39,9 @@ const onMenuCollapse = () => {
config.setLayout('menuCollapse', false)
}
onMounted(() => {
// getLastData({ versionType: 'WEB' }).then(res => {
// Version.value = res.data
// })
getLastData({ versionType: 'WEB' }).then(res => {
Version.value = res.data.versionName
})
document.title = getTheme.name
})
</script>