This is an automated email from the ASF dual-hosted git repository.

jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c5712a93 [AMORO-2730]: fix the login Component import (#2826)
7c5712a93 is described below

commit 7c5712a933077c19dcc27ccb685ed765612c0b4d
Author: xiaomo <[email protected]>
AuthorDate: Sat May 11 09:35:48 2024 +0800

    [AMORO-2730]: fix the login Component import (#2826)
    
    * [AMORO-2730]: fix the login Component import
    
    * [AMORO-2730]: fix the login Cexport 
PATH=/Users/ssa-user/Desktop/study/amoro/amoro-ams/amoro-ams-dashboard/node_modules/.bin:/Users/ssa-user/.nvm/versions/node/v19.7.0/bin:/Users/ssa-user/Library/pnpm:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/c
 [...]
    
    * [AMORO-2730]: fix the Button Tooltips Component import
---
 amoro-ams/amoro-ams-dashboard/src/components/Topbar.vue              | 4 +++-
 .../amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue    | 2 +-
 amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue       | 3 +++
 amoro-ams/amoro-ams-dashboard/src/views/catalogs/index.vue           | 2 +-
 amoro-ams/amoro-ams-dashboard/src/views/login/index.vue              | 5 +++++
 5 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/amoro-ams/amoro-ams-dashboard/src/components/Topbar.vue 
b/amoro-ams/amoro-ams-dashboard/src/components/Topbar.vue
index 8b5579a58..ff58745f7 100644
--- a/amoro-ams/amoro-ams-dashboard/src/components/Topbar.vue
+++ b/amoro-ams/amoro-ams-dashboard/src/components/Topbar.vue
@@ -55,7 +55,9 @@ export default defineComponent ({
   name: 'Topbar',
   components: {
     QuestionCircleOutlined,
-    LogoutOutlined
+    LogoutOutlined,
+    AButton,
+    ATooltip
   },
   setup() {
     const verInfo = reactive<IVersion>({
diff --git 
a/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue 
b/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue
index 269b1a8a2..b7d6f4f3f 100644
--- a/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue
+++ b/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue
@@ -59,7 +59,7 @@ export default defineComponent ({
     }
 
     return {
-      simpleImage: Empty.PRESENTED_IMAGE_SIMPLE,
+      simpleImage: AEmpty.PRESENTED_IMAGE_SIMPLE,
       tableTypeIconMap: tableTypeIconMap,
       handleMouseEnter,
       handleClickTable
diff --git a/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue 
b/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue
index 7227ed4f9..ad132daf7 100644
--- a/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue
+++ b/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue
@@ -27,6 +27,9 @@ import { defineComponent, onMounted, onBeforeUnmount, watch, 
ref, toRefs, reacti
 import echarts from './index'
 
 export default defineComponent({
+  components: {
+    ASpin
+  },
   props: {
     width: {
       type: String,
diff --git a/amoro-ams/amoro-ams-dashboard/src/views/catalogs/index.vue 
b/amoro-ams/amoro-ams-dashboard/src/views/catalogs/index.vue
index 60aa38850..8a37c94fc 100644
--- a/amoro-ams/amoro-ams-dashboard/src/views/catalogs/index.vue
+++ b/amoro-ams/amoro-ams-dashboard/src/views/catalogs/index.vue
@@ -53,7 +53,7 @@ const curCatalog = reactive<ICatalogItem>({})
 const isEdit = ref<boolean>(false)
 const NEW_CATALOG = 'new catalog'
 const loading = ref<boolean>(false)
-const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE
+const simpleImage = AEmpty.PRESENTED_IMAGE_SIMPLE
 
 async function getCatalogs() {
   try {
diff --git a/amoro-ams/amoro-ams-dashboard/src/views/login/index.vue 
b/amoro-ams/amoro-ams-dashboard/src/views/login/index.vue
index 8349561e9..c95fea1c2 100644
--- a/amoro-ams/amoro-ams-dashboard/src/views/login/index.vue
+++ b/amoro-ams/amoro-ams-dashboard/src/views/login/index.vue
@@ -94,6 +94,11 @@ interface FormState {
 export default defineComponent({
   name: 'Login',
   components: {
+    AButton,
+    AInput,
+    AInputPassword,
+    AForm,
+    AFormItem,
     UserOutlined,
     LockOutlined
   },

Reply via email to