Merge pull request #35 from shaohaojiecoder/i18n

I18n
This commit is contained in:
pycook 2020-02-16 19:06:58 +08:00 committed by GitHub
commit 342a79ed0c
2 changed files with 6 additions and 1 deletions

BIN
cmdb-ui/src/assets/cmdb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,7 +1,12 @@
<template> <template>
<div class="logo"> <div class="logo">
<router-link :to="{name:'cmdb'}"> <router-link :to="{name:'cmdb'}">
<h1 v-if="showTitle">{{ title }}</h1> <div style="text-align: center; margin-right: 24px">
<div style="display: inline-block;">
<img src="@/assets/cmdb.png" width="50px" height="50px" style="margin:0; padding:0" />
</div>
<h1 v-if="showTitle">{{ title }}</h1>
</div>
</router-link> </router-link>
</div> </div>
</template> </template>