perf: 个人设置显示版本号
This commit is contained in:
parent
e5a1e58159
commit
a47ca2f357
@ -19,6 +19,7 @@
|
|||||||
:key="key"
|
:key="key"
|
||||||
:class="classNameRoute(item.path, item.divided)"
|
:class="classNameRoute(item.path, item.divided)"
|
||||||
@click="toggleRoute(item.path)">{{$L(item.name)}}</li>
|
@click="toggleRoute(item.path)">{{$L(item.name)}}</li>
|
||||||
|
<li class="version divided"><AutoTip>{{$L('版本')}}: {{version}}</AutoTip></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="setting-content">
|
<div class="setting-content">
|
||||||
@ -37,6 +38,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
curPath: this.$route.path,
|
curPath: this.$route.path,
|
||||||
show768Menu: true,
|
show768Menu: true,
|
||||||
|
|
||||||
|
version: window.systemInfo.version
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -50,6 +50,13 @@
|
|||||||
background-color: #F4F5F7;
|
background-color: #F4F5F7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.version {
|
||||||
|
cursor: default;
|
||||||
|
&:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.divided {
|
&.divided {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user