adjust serializer for foreign object and id

This commit is contained in:
AceDataCloud committed 2023-01-22 19:15:10 +08:00
1 parent 1bc2068e7b
commit c266894f87
7 files changed
+39 -14

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ export default defineComponent({
};
},
mounted() {
serviceOperator.get(this.application.service).then(({ data: data }: { data: IServiceDetailResponse }) => {
serviceOperator.get(this.application.service_id).then(({ data: data }: { data: IServiceDetailResponse }) => {
this.service = data;
this.loading = false;
});