docs: 优化文档和注释中的单词大小写和语义

This commit is contained in:
pany
2022-07-01 16:25:51 +08:00
parent 8378cb501f
commit f4dc67c4ec
30 changed files with 74 additions and 76 deletions

View File

@@ -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">

View File

@@ -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;
}

View File

@@ -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) => {