|
@@ -9,7 +9,7 @@
|
|
|
<div v-else class="logo-sys">
|
|
|
<img class="headImg" src="../assets/image/head_logo.png" />
|
|
|
<!-- <span>{{$t('workingHoursHousekeeper')}}</span> -->
|
|
|
- <span>{{ localStorage.getItem('themes') == 'dark' ? '临床工时通' : '工时管家' }}</span>
|
|
|
+ <span>{{ themesType == 'dark' ? '临床工时通' : '工时管家' }}</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
@@ -286,6 +286,7 @@
|
|
|
inject:['reloads'],
|
|
|
data() {
|
|
|
return {
|
|
|
+ themesType: 'default',
|
|
|
textLength: 16,
|
|
|
companyForm:{
|
|
|
name: '',
|
|
@@ -939,6 +940,7 @@
|
|
|
},
|
|
|
mounted() {
|
|
|
var ua = navigator.userAgent.toLowerCase();
|
|
|
+ this.themesType = localStorage.getItem('themes') || 'default';
|
|
|
if (ua.indexOf("wxwork") > 0) {
|
|
|
this.isCorpWX = true;
|
|
|
}
|