docs: 优化文档和注释中的单词大小写和语义
This commit is contained in:
@@ -64,7 +64,7 @@ watch(
|
||||
<div>
|
||||
<h3 class="drawer-title">系统布局配置</h3>
|
||||
<div class="drawer-item">
|
||||
<span>显示 Tags-View</span>
|
||||
<span>显示标签栏</span>
|
||||
<el-switch v-model="state.showTagsView" class="drawer-switch" />
|
||||
</div>
|
||||
<div class="drawer-item">
|
||||
@@ -76,7 +76,7 @@ watch(
|
||||
<el-switch v-model="state.fixedHeader" class="drawer-switch" />
|
||||
</div>
|
||||
<div class="drawer-item">
|
||||
<span>显示换肤按钮</span>
|
||||
<span>显示切换主题按钮</span>
|
||||
<el-switch v-model="state.showThemeSwitch" class="drawer-switch" />
|
||||
</div>
|
||||
<div class="drawer-item">
|
||||
|
||||
@@ -64,7 +64,7 @@ const isCollapse = computed(() => {
|
||||
|
||||
<style lang="scss">
|
||||
.sidebar-container {
|
||||
// 重置当前页面的 element-plus css, ,注意,虽然没有加 scoped 标识,但是被该页面的 sidebar-container 类名包裹,所以不会影响其他页面
|
||||
// 重置当前页面的 Element-Plus CSS, ,注意,虽然没有加 scoped 标识,但是被该页面的 sidebar-container 类名包裹,所以不会影响其他页面
|
||||
.horizontal-collapse-transition {
|
||||
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ const toLastView = (visitedViews: ITagView[], view: ITagView) => {
|
||||
console.warn(err)
|
||||
})
|
||||
} else {
|
||||
// 如果没有 tags-view,请默认重定向到主页,如果你需要,可以自行调整它
|
||||
// 如果没有 TagsView,请默认重定向到主页,如果你需要,可以自行调整它
|
||||
if (view.name === "Dashboard") {
|
||||
// 重新加载主页
|
||||
router.push({ path: "/redirect" + view.fullPath }).catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user