generated from template/apps-template
update
This commit is contained in:
@@ -68,6 +68,9 @@ export class Core {
|
||||
tableId = res?.data?.id;
|
||||
}
|
||||
this.tableId = tableId;
|
||||
if(this.nocoApi.record) {
|
||||
this.nocoApi.record.table = tableId;
|
||||
}
|
||||
return {
|
||||
code,
|
||||
data: {
|
||||
@@ -88,4 +91,7 @@ export class Core {
|
||||
updateItem(data: Partial<CoreItem>) {
|
||||
return this.nocoApi.record.update(data);
|
||||
}
|
||||
creatItem(data: Partial<CoreItem>) {
|
||||
return this.nocoApi.record.create(data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user