update create application

This commit is contained in:
AceDataCloud committed 2023-01-23 00:01:37 +08:00
1 parent c266894f87
commit 34584a84bf
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ import { IService } from '../service';
export interface IApplication {
id?: string;
service: IService;
service_id: string;
service?: IService;
service_id?: string;
api_key?: string;
user_id?: string;
remaining_count?: number;
+1 -1
View File
@@ -107,7 +107,7 @@ export default defineComponent({
onApply() {
applicationOperator
.create({
service: this.id
service_id: this.id
})
.then(({ data: data }: { data: IApplicationDetailResponse }) => {
this.application = data;