diff --git a/change/@acedatacloud-nexior-83bf53d7-7a4c-4425-aa2f-7cd0795498c9.json b/change/@acedatacloud-nexior-83bf53d7-7a4c-4425-aa2f-7cd0795498c9.json
new file mode 100644
index 00000000..6c22a9c0
--- /dev/null
+++ b/change/@acedatacloud-nexior-83bf53d7-7a4c-4425-aa2f-7cd0795498c9.json
@@ -0,0 +1,7 @@
+{
+ "type": "minor",
+ "comment": "use global application",
+ "packageName": "@acedatacloud/nexior",
+ "email": "office@acedata.cloud",
+ "dependentChangeType": "patch"
+}
diff --git a/src/components/application/Confirm.vue b/src/components/application/Confirm.vue
index 3b787c82..0607efaa 100644
--- a/src/components/application/Confirm.vue
+++ b/src/components/application/Confirm.vue
@@ -7,14 +7,6 @@
@close="$emit('update:visible', false)"
>
-
-
- {{ service?.title }}
-
-
- {{ service?.free_amount }} {{ $t(`service.unit.${service?.unit}`) }}
-
-
@@ -42,17 +34,11 @@ export default defineComponent({
name: 'ApplicationConfirm',
components: {
ElDialog,
- ElDescriptions,
- ElDescriptionsItem,
ElDivider,
ElCheckbox,
ElButton
},
props: {
- service: {
- type: Object as () => IService,
- required: true
- },
visible: {
type: Boolean,
required: false,
diff --git a/src/components/application/Info.vue b/src/components/application/Info.vue
index 4fe119cc..4508d106 100644
--- a/src/components/application/Info.vue
+++ b/src/components/application/Info.vue
@@ -1,6 +1,6 @@
- {{
+ {{
application.service?.title
}}
@@ -19,7 +19,8 @@
{{ $dayjs.format(application.expired_at) }}
- {{ application?.remaining_amount?.toFixed(6) }} {{ $t(`service.unit.` + application?.service?.unit + 's') }}
+ {{ application?.remaining_amount?.toFixed(6) }}
+ {{ $t(`service.unit.` + (application?.service?.unit || 'credit') + 's') }}
diff --git a/src/components/application/Status.vue b/src/components/application/Status.vue
index 547c26bc..b64abe9a 100644
--- a/src/components/application/Status.vue
+++ b/src/components/application/Status.vue
@@ -1,14 +1,7 @@
-
+
-
-
-
-
-
-
-
-
+
{{ $t('application.message.applicationSelection') }}
@@ -38,37 +31,17 @@
-
-
-
-
-
-
-
{{ $t('chat.message.notApplied') }}
-
-
- {{ $t('common.button.apply') }}
-
-
-
{{ $t('chat.message.tryForFree') }}
-
-
+
+
+