diff --git a/ui/src/layout/components/breadcrumb/index.vue b/ui/src/layout/components/breadcrumb/index.vue
index 2e98be0e8..6656c63f9 100644
--- a/ui/src/layout/components/breadcrumb/index.vue
+++ b/ui/src/layout/components/breadcrumb/index.vue
@@ -11,8 +11,17 @@
+
+
+
-
{{ currentName }}
+
{{ current?.name }}
@@ -46,7 +55,16 @@
+
+
+
import { ref, onMounted, computed } from 'vue'
import { onBeforeRouteLeave, useRouter, useRoute } from 'vue-router'
+import { isAppIcon } from '@/utils/application'
import useStore from '@/stores'
const { common, dataset, application } = useStore()
const route = useRoute()
@@ -120,18 +139,18 @@ const loading = ref(false)
const breadcrumbData = computed(() => common.breadcrumb)
-const currentName = computed(() => {
+const current = computed(() => {
const {
params: { id }
} = route
- return list.value?.filter((v) => v.id === id)?.[0]?.name
-})
-const currentType = computed(() => {
- const {
- params: { id }
- } = route
- return list.value?.filter((v) => v.id === id)?.[0]?.type
+ return list.value?.filter((v) => v.id === id)?.[0]
})
+// const current = computed(() => {
+// const {
+// params: { id }
+// } = route
+// return list.value?.filter((v) => v.id === id)?.[0]?.type
+// })
const isApplication = computed(() => {
const { meta } = route as any
diff --git a/ui/src/views/application-overview/component/EditAvatarDialog.vue b/ui/src/views/application-overview/component/EditAvatarDialog.vue
index 35f78a802..e2f2e915d 100644
--- a/ui/src/views/application-overview/component/EditAvatarDialog.vue
+++ b/ui/src/views/application-overview/component/EditAvatarDialog.vue
@@ -32,7 +32,6 @@
action="#"
:auto-upload="false"
:show-file-list="false"
- :limit="1"
accept="image/*"
:on-change="onChange"
>