删除不必要代码
Showing
1 changed file
with
0 additions
and
34 deletions
... | @@ -31,27 +31,6 @@ | ... | @@ -31,27 +31,6 @@ |
31 | <i :class="item.icon"></i> | 31 | <i :class="item.icon"></i> |
32 | <span>{{ item.name }}</span> | 32 | <span>{{ item.name }}</span> |
33 | </div> | 33 | </div> |
34 | <div class="top-items"> | ||
35 | <el-menu | ||
36 | :default-active="activeIndex" | ||
37 | class="el-menu-demo" | ||
38 | mode="horizontal" | ||
39 | @select="handleSelect" | ||
40 | :router="true" | ||
41 | > | ||
42 | <el-submenu index="2"> | ||
43 | <template slot="title" | ||
44 | >临时网页开发路由跳转</template | ||
45 | > | ||
46 | <el-menu-item | ||
47 | v-for="(item, index) in tempTab" | ||
48 | :index="item.path" | ||
49 | :key="'tempTab' + index" | ||
50 | >{{ item.name }}</el-menu-item | ||
51 | > | ||
52 | </el-submenu> | ||
53 | </el-menu> | ||
54 | </div> | ||
55 | </div> | 34 | </div> |
56 | <div class="header-bottom"> | 35 | <div class="header-bottom"> |
57 | <Navigation ref="navigation"></Navigation> | 36 | <Navigation ref="navigation"></Navigation> |
... | @@ -73,7 +52,6 @@ | ... | @@ -73,7 +52,6 @@ |
73 | </template> | 52 | </template> |
74 | <script> | 53 | <script> |
75 | import util from "@/libs/util.js"; | 54 | import util from "@/libs/util.js"; |
76 | import screenfull from "screenfull"; | ||
77 | import Navigation from "../components/IvyElement/navigation"; | 55 | import Navigation from "../components/IvyElement/navigation"; |
78 | import Create from "./panel/create/index"; | 56 | import Create from "./panel/create/index"; |
79 | import LineTree from "../components/lineTree/lineTree"; | 57 | import LineTree from "../components/lineTree/lineTree"; |
... | @@ -86,7 +64,6 @@ export default { | ... | @@ -86,7 +64,6 @@ export default { |
86 | }, | 64 | }, |
87 | data() { | 65 | data() { |
88 | return { | 66 | return { |
89 | activeIndex: "1", | ||
90 | navigationList: [], | 67 | navigationList: [], |
91 | isActive: false, | 68 | isActive: false, |
92 | textLogo: false, | 69 | textLogo: false, |
... | @@ -310,21 +287,10 @@ export default { | ... | @@ -310,21 +287,10 @@ export default { |
310 | } | 287 | } |
311 | }); | 288 | }); |
312 | }, | 289 | }, |
313 | screen() { | ||
314 | // 如果不允许进入全屏,发出不允许提示 | ||
315 | // if (!screenfull.enabled) { | ||
316 | // this.$message('您的浏览器不能全屏'); | ||
317 | // return false | ||
318 | // } | ||
319 | screenfull.toggle(); | ||
320 | }, | ||
321 | //树控件点击事件 | 290 | //树控件点击事件 |
322 | itemClick(data) { | 291 | itemClick(data) { |
323 | console.log(data); | 292 | console.log(data); |
324 | }, | 293 | }, |
325 | handleSelect(key, keyPath) { | ||
326 | console.log(key, keyPath); | ||
327 | }, | ||
328 | //关闭新建子组件弹框 | 294 | //关闭新建子组件弹框 |
329 | closeDialog(){ | 295 | closeDialog(){ |
330 | this.dialogVisible = false; | 296 | this.dialogVisible = false; | ... | ... |
-
Please register or sign in to post a comment