Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d7b43e96
authored
2020-10-20 19:46:17 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
74b7522d
6dc2b198
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
36 deletions
src/router/routes.js
src/views/Home.vue
src/router/routes.js
View file @
d7b43e9
...
...
@@ -85,8 +85,8 @@ const constantRoutes = [
},
{
path
:
"/ljz"
,
name
:
"宗地"
,
code
:
"1-
5
"
,
name
:
"宗地
1
"
,
code
:
"1-
6
"
,
component
:
()
=>
import
(
"@/views/basic/ljz/index"
),
},
],
...
...
src/views/Home.vue
View file @
d7b43e9
...
...
@@ -31,27 +31,6 @@
<i
:class=
"item.icon"
></i>
<span>
{{
item
.
name
}}
</span>
</div>
<div
class=
"top-items"
>
<el-menu
:default-active=
"activeIndex"
class=
"el-menu-demo"
mode=
"horizontal"
@
select=
"handleSelect"
:router=
"true"
>
<el-submenu
index=
"2"
>
<template
slot=
"title"
>
临时网页开发路由跳转
</
template
>
<el-menu-item
v-for=
"(item, index) in tempTab"
:index=
"item.path"
:key=
"'tempTab' + index"
>
{{ item.name }}
</el-menu-item
>
</el-submenu>
</el-menu>
</div>
</div>
<div
class=
"header-bottom"
>
<Navigation
ref=
"navigation"
></Navigation>
...
...
@@ -73,7 +52,6 @@
</
template
>
<
script
>
import
util
from
"@/libs/util.js"
;
import
screenfull
from
"screenfull"
;
import
Navigation
from
"../components/IvyElement/navigation"
;
import
Create
from
"./panel/create/index"
;
import
LineTree
from
"../components/lineTree/lineTree"
;
...
...
@@ -86,7 +64,6 @@ export default {
},
data
()
{
return
{
activeIndex
:
"1"
,
navigationList
:
[],
isActive
:
false
,
textLogo
:
false
,
...
...
@@ -310,21 +287,10 @@ export default {
}
});
},
screen
()
{
// 如果不允许进入全屏,发出不允许提示
// if (!screenfull.enabled) {
// this.$message('您的浏览器不能全屏');
// return false
// }
screenfull
.
toggle
();
},
//树控件点击事件
itemClick
(
data
)
{
console
.
log
(
data
);
},
handleSelect
(
key
,
keyPath
)
{
console
.
log
(
key
,
keyPath
);
},
//关闭新建子组件弹框
closeDialog
(){
this
.
dialogVisible
=
false
;
...
...
Please
register
or
sign in
to post a comment