add refresh application

This commit is contained in:
AceDataCloud committed 2023-01-23 14:21:12 +08:00
1 parent a5514e8e3e
commit 7c07d453e8
8 files changed
+63 -24

No files matched your search

+5 -4
View File
@@ -90,10 +90,11 @@ export default defineComponent({
};
},
mounted() {
serviceOperator.get(this.application.service_id).then(({ data: data }: { data: IServiceDetailResponse }) => {
this.service = data;
this.loading = false;
});
if (this.application?.service_id)
serviceOperator.get(this.application.service_id).then(({ data: data }: { data: IServiceDetailResponse }) => {
this.service = data;
this.loading = false;
});
},
methods: {}
});