This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-fence.git
commit fc33e501c0733a4fc754c5caf44cf5fefe7657b6 Author: liubao <[email protected]> AuthorDate: Thu Aug 15 15:31:17 2024 +0800 remove hello test page --- admin-website/src/main/web/src/locale/en-US.ts | 3 -- admin-website/src/main/web/src/locale/zh-CN.ts | 3 -- .../main/web/src/router/routes/modules/cloud.ts | 12 ----- .../src/main/web/src/views/cloud/hello/index.vue | 61 ---------------------- .../main/web/src/views/cloud/hello/locale/en-US.ts | 3 -- .../main/web/src/views/cloud/hello/locale/zh-CN.ts | 3 -- 6 files changed, 85 deletions(-) diff --git a/admin-website/src/main/web/src/locale/en-US.ts b/admin-website/src/main/web/src/locale/en-US.ts index 723c8bc..2bda365 100644 --- a/admin-website/src/main/web/src/locale/en-US.ts +++ b/admin-website/src/main/web/src/locale/en-US.ts @@ -20,8 +20,6 @@ import localeUserSetting from '@/views/user/setting/locale/en-US'; import localekanban from '@/views/board/locale/en-US'; -import localeHello from '@/views/cloud/hello/locale/en-US'; - import localeContracts from '@/views/cloud/contracts/locale/en-US'; import localeSettings from './en-US/settings'; @@ -62,7 +60,6 @@ export default { ...localeUserSetting, ...localeDetailForm, ...localekanban, - ...localeHello, ...localeContracts, ...localeHttpError, }; diff --git a/admin-website/src/main/web/src/locale/zh-CN.ts b/admin-website/src/main/web/src/locale/zh-CN.ts index 84b1d13..b797bfd 100644 --- a/admin-website/src/main/web/src/locale/zh-CN.ts +++ b/admin-website/src/main/web/src/locale/zh-CN.ts @@ -20,8 +20,6 @@ import localeUserSetting from '@/views/user/setting/locale/zh-CN'; import localekanban from '@/views/board/locale/zh-CN'; -import localeHello from '@/views/cloud/hello/locale/zh-CN'; - import localeContracts from '@/views/cloud/contracts/locale/zh-CN'; import localeSettings from './zh-CN/settings'; @@ -62,7 +60,6 @@ export default { ...localeUserSetting, ...localeDetailForm, ...localekanban, - ...localeHello, ...localeContracts, ...localeHttpError, }; diff --git a/admin-website/src/main/web/src/router/routes/modules/cloud.ts b/admin-website/src/main/web/src/router/routes/modules/cloud.ts index 74aa2f8..5cc4665 100644 --- a/admin-website/src/main/web/src/router/routes/modules/cloud.ts +++ b/admin-website/src/main/web/src/router/routes/modules/cloud.ts @@ -13,18 +13,6 @@ export default { roles: [], }, children: [ - { - path: 'hello', - name: 'Hello', - id: 'Hello', - label: 'Hello', - component: () => import('@/views/cloud/hello/index.vue'), - meta: { - locale: 'menu.cloud.hello', - requiresAuth: true, - roles: [RoleType.admin], - }, - }, { path: 'contracts', name: 'Contracts', diff --git a/admin-website/src/main/web/src/views/cloud/hello/index.vue b/admin-website/src/main/web/src/views/cloud/hello/index.vue deleted file mode 100644 index 62af740..0000000 --- a/admin-website/src/main/web/src/views/cloud/hello/index.vue +++ /dev/null @@ -1,61 +0,0 @@ -<template> - <div class="container"> - <Breadcrumb :items="['menu.cloud', 'menu.cloud.hello']" /> - <div class="content"> - <text x="40" y="150">{{ text }}</text> - </div> - </div> -</template> - -<script lang="ts" setup> - import { onMounted, ref } from 'vue'; - import { ApigInfo } from '@/types/global'; - import { HwcClientService } from '@/utils/hwcClient.service'; - - const text = ref(); - const helloWorldApigInfo: ApigInfo = { - apigName: 'apig_hello_world', - apigGroupName: 'group_hello_world', - }; - - async function getData(): Promise<void> { - const result = await HwcClientService.apiRequest( - '', - {}, - helloWorldApigInfo - ); - text.value = result?.data; - } - - onMounted(getData); -</script> - -<style scoped lang="less"> - .container { - display: flex; - flex-direction: column; - justify-content: space-between; - width: 98%; - height: inherit; - margin: 0 auto; - overflow: auto; - - .content { - height: 100%; - overflow: auto; - text-align: center; - background: #fff; - border-radius: 10px; - - text { - width: 1122px; - height: 100px; - color: #5e7ce0; - font-weight: normal; - font-size: 72px; - line-height: 300px; - text-align: left; - } - } - } -</style> diff --git a/admin-website/src/main/web/src/views/cloud/hello/locale/en-US.ts b/admin-website/src/main/web/src/views/cloud/hello/locale/en-US.ts deleted file mode 100644 index d526c50..0000000 --- a/admin-website/src/main/web/src/views/cloud/hello/locale/en-US.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default { - 'menu.cloud.hello': 'Hello World', -}; diff --git a/admin-website/src/main/web/src/views/cloud/hello/locale/zh-CN.ts b/admin-website/src/main/web/src/views/cloud/hello/locale/zh-CN.ts deleted file mode 100644 index d526c50..0000000 --- a/admin-website/src/main/web/src/views/cloud/hello/locale/zh-CN.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default { - 'menu.cloud.hello': 'Hello World', -};
