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