From 23158b67f48c1277016e83184d02f5ce1c40452d Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Sun, 7 Jan 2024 20:21:29 +0800 Subject: [PATCH] Move distribution entry to navigator (#34) --- ...-ed3e2d81-bf16-4b91-89fa-c254af1d2e7d.json | 7 ++++ src/components/common/Navigator.vue | 29 ++++++++++++++-- src/components/console/SidePanel.vue | 21 +----------- src/config.ts | 4 +-- src/i18n/zh/common/nav.ts | 3 +- src/layouts/Console.vue | 33 +++++++++++-------- src/layouts/Midjourney.vue | 16 +++++---- .../{console => }/distribution/History.vue | 0 .../{console => }/distribution/Index.vue | 6 ++-- .../{console => }/distribution/Invitees.vue | 0 src/router/console.ts | 18 ---------- src/router/constants.ts | 7 ++-- src/router/distribution.ts | 26 +++++++++++++++ src/router/index.ts | 5 ++- 14 files changed, 102 insertions(+), 73 deletions(-) create mode 100644 change/@zhishuyun-hub-ed3e2d81-bf16-4b91-89fa-c254af1d2e7d.json rename src/pages/{console => }/distribution/History.vue (100%) rename src/pages/{console => }/distribution/Index.vue (98%) rename src/pages/{console => }/distribution/Invitees.vue (100%) create mode 100644 src/router/distribution.ts diff --git a/change/@zhishuyun-hub-ed3e2d81-bf16-4b91-89fa-c254af1d2e7d.json b/change/@zhishuyun-hub-ed3e2d81-bf16-4b91-89fa-c254af1d2e7d.json new file mode 100644 index 00000000..5d451fde --- /dev/null +++ b/change/@zhishuyun-hub-ed3e2d81-bf16-4b91-89fa-c254af1d2e7d.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "move distribution pages", + "packageName": "@zhishuyun/hub", + "email": "cqc@germey.cn", + "dependentChangeType": "patch" +} diff --git a/src/components/common/Navigator.vue b/src/components/common/Navigator.vue index 01e3e274..e580bfb9 100644 --- a/src/components/common/Navigator.vue +++ b/src/components/common/Navigator.vue @@ -35,6 +35,10 @@ + + + + @@ -49,8 +53,12 @@ -