优化代码

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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