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
aa4ac7f8
authored
2020-11-30 14:45:45 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(Home):连续新建宗地重新加载左侧目录树
1 parent
4d12d7cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
src/views/Home.vue
src/views/Home.vue
View file @
aa4ac7f
...
...
@@ -154,9 +154,12 @@ export default {
this
.
getTreeList
();
}
},
// "$store.state.zdbsm": function(bsm) {
// this.getRightTree(bsm);
// },
"$store.state.zdbsm"
:
function
(
bsm
)
{
this
.
getRightTree
(
bsm
);
},
},
mounted
(){
},
created
()
{
if
(
this
.
$route
.
meta
)
{
...
...
@@ -214,7 +217,7 @@ export default {
}
//刷新页面后根据不同路由高亮相对应的导航
if
(
this
.
$route
.
path
==
'/zrz'
||
this
.
$route
.
path
==
'/zd'
||
this
.
$route
.
path
==
'/dz'
){
}
else
{
this
.
headTop
.
forEach
(
item
=>
{
if
(
item
.
path
==
this
.
$route
.
path
)
{
...
...
@@ -257,7 +260,7 @@ export default {
},
async
getDicData
(
name
)
{
return
await
getDdicByMC
(
name
).
then
((
res
)
=>
{
return
res
.
result
return
res
.
result
});
},
getRightTree
(
bsm
)
{
...
...
Please
register
or
sign in
to post a comment