|
@@ -7,7 +7,7 @@
|
|
|
<!-- <img src="../../../assets/images/grey-logo.png" /> -->
|
|
|
<img src="/resource/img/logo.png" />
|
|
|
<div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
|
|
|
- {{ mytitle || title1 }}
|
|
|
+ {{ !alwaysShowTitle ? '公安' : mytitle }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -33,15 +33,15 @@
|
|
|
/**
|
|
|
* The title is also displayed when the menu is collapsed
|
|
|
*/
|
|
|
- alwaysShowTitle: { type: Boolean },
|
|
|
+ alwaysShowTitle: { type: Boolean, default: false },
|
|
|
});
|
|
|
|
|
|
const { getTitle } = useRootSetting();
|
|
|
- const mytitle = computed(() => getTitle.value);
|
|
|
+ const { title1 } = useGlobSetting();
|
|
|
+ const mytitle = computed(() => getTitle.value || title1);
|
|
|
const { prefixCls } = useDesign('app-logo');
|
|
|
const { getCollapsedShowTitle } = useMenuSetting();
|
|
|
const userStore = useUserStore();
|
|
|
- const { title1 } = useGlobSetting();
|
|
|
const go = useGo();
|
|
|
|
|
|
const getAppLogoClass = computed(() => [
|