修复文本编辑器样式重新加载没有重载目录的问题

This commit is contained in:
jmal 2020-07-29 09:30:11 +08:00
parent b30d2b0d50
commit fc68ba8e48
3 changed files with 18 additions and 13 deletions

View File

@ -103,7 +103,7 @@
watch: {
directoryTreeData(newVal){
this.directoryTreeData = newVal
this.loadTreeData(this.directoryTreeData)
this.loadTreeData(this.directoryTreeData,true)
}
},
computed: {

View File

@ -977,6 +977,7 @@
background-color: $fancytreeTitleActiveColor;
border-color: $fancytreeTitleActiveColor;
}
}
}
@ -1133,6 +1134,7 @@
background-color: #202021;
border: unset;
}
}
}
}
@ -1180,4 +1182,7 @@
}
}
}
>>> .fancytree-expander {
margin-top: 5px;
}
</style>

View File

@ -166,18 +166,18 @@ export const constantRoutes = [
]
},
{
path: '/demo',
component: Layout,
children: [
{
path: 'index',
name: 'demo',
component: () => import('@/views/demo/index'),
meta: { title: 'demo', icon: 'example' }
}
]
},
// {
// path: '/demo',
// component: Layout,
// children: [
// {
// path: 'index',
// name: 'demo',
// component: () => import('@/views/demo/index'),
// meta: { title: 'demo', icon: 'example' }
// }
// ]
// },
{
path: '/markdown',