mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 12:17:43 +08:00
[Feature][UI Next] Default open task group manage and project task menu. (#8244)
This commit is contained in:
parent
7c5a53f70f
commit
303845b78d
@ -15,11 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { defineComponent, ref, PropType, watch } from 'vue'
|
||||
import { defineComponent, ref, PropType } from 'vue'
|
||||
import { NLayoutSider, NMenu } from 'naive-ui'
|
||||
import { useMenuClick } from './use-menuClick'
|
||||
import { useMenuStore } from '@/store/menu/menu'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
const Sidebar = defineComponent({
|
||||
name: 'Sidebar',
|
||||
@ -34,14 +33,15 @@ const Sidebar = defineComponent({
|
||||
}
|
||||
},
|
||||
setup() {
|
||||
const route = useRoute()
|
||||
const menuStore = useMenuStore()
|
||||
const collapsedRef = ref(false)
|
||||
const defaultExpandedKeys = [
|
||||
'workflow',
|
||||
'task',
|
||||
'udf-manage',
|
||||
'service-manage',
|
||||
'statistical-manage'
|
||||
'statistical-manage',
|
||||
'task-group-manage'
|
||||
]
|
||||
|
||||
const { handleMenuClick } = useMenuClick()
|
||||
|
Loading…
Reference in New Issue
Block a user