修改云南测试用例
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user