This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 303845b [Feature][UI Next] Default open task group manage and project
task menu. (#8244)
303845b is described below
commit 303845b78d8ba7f6ad7ac7837596c411ad792667
Author: songjianet <[email protected]>
AuthorDate: Fri Jan 28 21:21:57 2022 +0800
[Feature][UI Next] Default open task group manage and project task menu.
(#8244)
---
.../src/layouts/content/components/sidebar/index.tsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/dolphinscheduler-ui-next/src/layouts/content/components/sidebar/index.tsx
b/dolphinscheduler-ui-next/src/layouts/content/components/sidebar/index.tsx
index 781af14..079941a 100644
--- a/dolphinscheduler-ui-next/src/layouts/content/components/sidebar/index.tsx
+++ b/dolphinscheduler-ui-next/src/layouts/content/components/sidebar/index.tsx
@@ -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()