mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-18 21:38:14 +00:00
chore: 优化
This commit is contained in:
parent
6fc9485c7c
commit
5db0c126eb
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ali/lowcode-runtime",
|
"name": "@ali/lowcode-runtime",
|
||||||
"version": "0.8.14",
|
"version": "0.8.15",
|
||||||
"description": "Runtime for Ali lowCode engine",
|
"description": "Runtime for Ali lowCode engine",
|
||||||
"files": [
|
"files": [
|
||||||
"es",
|
"es",
|
||||||
|
|||||||
@ -182,7 +182,7 @@ export default class Provider implements IProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getAppData(): any {
|
getAppData(): any {
|
||||||
throw new Error('Method called "getPageData" not implemented.');
|
throw new Error('Method called "getAppData" not implemented.');
|
||||||
}
|
}
|
||||||
|
|
||||||
getPageData(pageId?: string): any {
|
getPageData(pageId?: string): any {
|
||||||
|
|||||||
@ -23,28 +23,6 @@ export interface IAppConfig {
|
|||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
// export interface IRecoreAppConfig {
|
|
||||||
// history?: HistoryMode;
|
|
||||||
// globalComponents?: IComponents;
|
|
||||||
// globalUtils?: IUtils;
|
|
||||||
// containerId?: string;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// function transformConfig(config: IAppConfig | (() => IAppConfig)): IRecoreAppConfig {
|
|
||||||
// if (!config) {
|
|
||||||
// return {};
|
|
||||||
// }
|
|
||||||
// if (typeof config === 'function') {
|
|
||||||
// config = config();
|
|
||||||
// }
|
|
||||||
// return {
|
|
||||||
// history: config.history,
|
|
||||||
// globalComponents: config.components,
|
|
||||||
// globalUtils: config.utils,
|
|
||||||
// containerId: config.containerId,
|
|
||||||
// };
|
|
||||||
// }
|
|
||||||
|
|
||||||
export default function runApp() {
|
export default function runApp() {
|
||||||
const provider = app.getProvider();
|
const provider = app.getProvider();
|
||||||
if (!provider) {
|
if (!provider) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user