feat: build
This commit is contained in:
parent
5c06cf0a7b
commit
670e4525cd
|
|
@ -1,11 +1,5 @@
|
|||
import { NativeConfig, WebConfig, WechatMpConfig, WechatPublicConfig } from '../../../entities/Application';
|
||||
import { EntityDict } from '../../../oak-app-domain';
|
||||
export type AppConfig = WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig;
|
||||
export type CosConfig = AppConfig['cos'];
|
||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, keyof EntityDict, false, {
|
||||
config: AppConfig;
|
||||
entity: string;
|
||||
entityId: string;
|
||||
name: string;
|
||||
}>) => React.ReactElement;
|
||||
declare const _default: any;
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ export default OakComponent({
|
|||
});
|
||||
const systemId = this.features.application.getApplication().systemId;
|
||||
const { data: [system] } = await this.features.cache.refresh("system", {
|
||||
action: 'select',
|
||||
data: {
|
||||
config: {
|
||||
Cos: {
|
||||
|
|
|
|||
|
|
@ -17,23 +17,11 @@ const triggers = [
|
|||
}
|
||||
const [application] = await context.select("application", {
|
||||
data: {
|
||||
config: {
|
||||
cos: {
|
||||
defaultOrigin: 1,
|
||||
}
|
||||
},
|
||||
config: 1,
|
||||
system: {
|
||||
config: {
|
||||
Cos: {
|
||||
defaultOrigin: 1,
|
||||
}
|
||||
},
|
||||
config: 1,
|
||||
platform: {
|
||||
config: {
|
||||
Cos: {
|
||||
defaultOrigin: 1,
|
||||
}
|
||||
}
|
||||
config: 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -20,23 +20,11 @@ const triggers = [
|
|||
}
|
||||
const [application] = await context.select("application", {
|
||||
data: {
|
||||
config: {
|
||||
cos: {
|
||||
defaultOrigin: 1,
|
||||
}
|
||||
},
|
||||
config: 1,
|
||||
system: {
|
||||
config: {
|
||||
Cos: {
|
||||
defaultOrigin: 1,
|
||||
}
|
||||
},
|
||||
config: 1,
|
||||
platform: {
|
||||
config: {
|
||||
Cos: {
|
||||
defaultOrigin: 1,
|
||||
}
|
||||
}
|
||||
config: 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue