优化代码

This commit is contained in:
smallchill 2019-02-21 23:15:12 +08:00
parent e6809d5325
commit 684d2ce098
12 changed files with 16 additions and 5 deletions

View File

@ -13,10 +13,10 @@
v-if="showMenu"> v-if="showMenu">
<top-menu></top-menu> <top-menu></top-menu>
</div> </div>
<span class="top-bar__item" <!--<span class="top-bar__item"
v-if="showSearch"> v-if="showSearch">
<top-search></top-search> <top-search></top-search>
</span> </span>-->
</div> </div>
<div class="top-bar__right"> <div class="top-bar__right">
<el-tooltip v-if="showColor" <el-tooltip v-if="showColor"
@ -93,7 +93,7 @@ import { mapGetters, mapState } from "vuex";
import { fullscreenToggel, listenfullscreen } from "@/util/util"; import { fullscreenToggel, listenfullscreen } from "@/util/util";
import topLock from "./top-lock"; import topLock from "./top-lock";
import topMenu from "./top-menu"; import topMenu from "./top-menu";
import topSearch from "./top-search"; // import topSearch from "./top-search";
import topTheme from "./top-theme"; import topTheme from "./top-theme";
import topLogs from "./top-logs"; import topLogs from "./top-logs";
import topColor from "./top-color"; import topColor from "./top-color";
@ -102,7 +102,7 @@ export default {
components: { components: {
topLock, topLock,
topMenu, topMenu,
topSearch, // topSearch,
topTheme, topTheme,
topLogs, topLogs,
topColor, topColor,

View File

@ -45,6 +45,7 @@
}, },
selectionList: [], selectionList: [],
option: { option: {
tip: false,
border: true, border: true,
index: true, index: true,
viewBtn: true, viewBtn: true,

View File

@ -37,6 +37,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
border: true, border: true,
index: true, index: true,
viewBtn: true, viewBtn: true,

View File

@ -37,6 +37,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
border: true, border: true,
index: true, index: true,
viewBtn: true, viewBtn: true,

View File

@ -37,6 +37,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
border: true, border: true,
index: true, index: true,
viewBtn: true, viewBtn: true,

View File

@ -56,6 +56,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
tree: true, tree: true,
border: true, border: true,
index: true, index: true,

View File

@ -56,6 +56,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
tree: true, tree: true,
border: true, border: true,
index: true, index: true,

View File

@ -49,6 +49,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
dialogWidth: "70%", dialogWidth: "70%",
tree: true, tree: true,
border: true, border: true,

View File

@ -48,6 +48,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
border: true, border: true,
index: true, index: true,
selection: true, selection: true,

View File

@ -86,6 +86,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
tree: true, tree: true,
border: true, border: true,
index: true, index: true,

View File

@ -64,6 +64,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
border: true, border: true,
index: true, index: true,
selection: true, selection: true,

View File

@ -55,6 +55,7 @@
total: 0 total: 0
}, },
option: { option: {
tip: false,
border: true, border: true,
index: true, index: true,
selection: true, selection: true,