chore: 优化

This commit is contained in:
wuyue.xht 2020-05-29 13:29:14 +08:00
parent 6fc9485c7c
commit 5db0c126eb
3 changed files with 2 additions and 24 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@ali/lowcode-runtime",
"version": "0.8.14",
"version": "0.8.15",
"description": "Runtime for Ali lowCode engine",
"files": [
"es",

View File

@ -182,7 +182,7 @@ export default class Provider implements IProvider {
}
getAppData(): any {
throw new Error('Method called "getPageData" not implemented.');
throw new Error('Method called "getAppData" not implemented.');
}
getPageData(pageId?: string): any {

View File

@ -23,28 +23,6 @@ export interface IAppConfig {
[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() {
const provider = app.getProvider();
if (!provider) {