先干掉编译中的错误
This commit is contained in:
parent
d3b8805112
commit
227c07a345
|
|
@ -0,0 +1,9 @@
|
|||
import { CommonAspectDict } from "oak-common-aspect";
|
||||
import { AspectDict as GeneralAspectDict } from "../aspects/AspectDict";
|
||||
import { BackendRuntimeContext } from "../context/BackendRuntimeContext";
|
||||
import { FrontendRuntimeContext } from "../context/FrontendRuntimeContext";
|
||||
import { EntityDict } from "../general-app-domain";
|
||||
export declare type BRC = BackendRuntimeContext<EntityDict>;
|
||||
export declare type FrcAspectDict = GeneralAspectDict<EntityDict, BRC> & CommonAspectDict<EntityDict, BRC>;
|
||||
export declare type FRC = FrontendRuntimeContext<EntityDict, BRC, FrcAspectDict>;
|
||||
export declare type RuntimeCxt = FRC | BRC;
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
|
|
@ -139,7 +139,8 @@ export default function render(this: any) {
|
|||
width="60%"
|
||||
onOk={async () => {
|
||||
// todo
|
||||
await this.execute(
|
||||
this.createItem();
|
||||
/* await this.execute(
|
||||
{
|
||||
action: 'create',
|
||||
data: {
|
||||
|
|
@ -147,7 +148,7 @@ export default function render(this: any) {
|
|||
},
|
||||
},
|
||||
// '$system/list-system/upsert'
|
||||
);
|
||||
); */
|
||||
this.setState({
|
||||
open: false,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
import { CommonAspectDict } from "oak-common-aspect";
|
||||
import { AspectDict as GeneralAspectDict } from "../aspects/AspectDict";
|
||||
import { BackendRuntimeContext } from "../context/BackendRuntimeContext";
|
||||
import { FrontendRuntimeContext } from "../context/FrontendRuntimeContext";
|
||||
import { EntityDict } from "../general-app-domain";
|
||||
|
||||
export type BRC = BackendRuntimeContext<EntityDict>;
|
||||
export type FrcAspectDict = GeneralAspectDict<EntityDict, BRC> & CommonAspectDict<EntityDict, BRC>;
|
||||
export type FRC = FrontendRuntimeContext<EntityDict, BRC, FrcAspectDict>;
|
||||
export type RuntimeCxt = FRC | BRC;
|
||||
Loading…
Reference in New Issue