mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +00:00
fix: 删除无用代码, 解决 ts 编译报错
This commit is contained in:
parent
3e99232af9
commit
1f241eafc7
@ -114,23 +114,23 @@ export default class BlockRenderer extends BaseRenderer {
|
||||
</AppContext.Provider>
|
||||
);
|
||||
|
||||
if (autoLoading || loading !== undefined) {
|
||||
return (
|
||||
<Loading
|
||||
size="medium"
|
||||
visible={!!(this.__showPlaceholder || loading)}
|
||||
style={{
|
||||
height: this.__showPlaceholder ? defaultHeight : 'auto',
|
||||
display: 'block',
|
||||
...style,
|
||||
}}
|
||||
className={classnames('luna-block', getFileCssName(__schema.fileName), className, this.props.className)}
|
||||
id={id}
|
||||
>
|
||||
{!this.__showPlaceholder && renderContent()}
|
||||
</Loading>
|
||||
);
|
||||
}
|
||||
// if (autoLoading || loading !== undefined) {
|
||||
// return (
|
||||
// <Loading
|
||||
// size="medium"
|
||||
// visible={!!(this.__showPlaceholder || loading)}
|
||||
// style={{
|
||||
// height: this.__showPlaceholder ? defaultHeight : 'auto',
|
||||
// display: 'block',
|
||||
// ...style,
|
||||
// }}
|
||||
// className={classnames('luna-block', getFileCssName(__schema.fileName), className, this.props.className)}
|
||||
// id={id}
|
||||
// >
|
||||
// {!this.__showPlaceholder && renderContent()}
|
||||
// </Loading>
|
||||
// );
|
||||
// }
|
||||
|
||||
return (
|
||||
<div
|
||||
|
||||
@ -106,9 +106,8 @@ export interface ProjectSchema {
|
||||
constants?: JSONObject;
|
||||
css?: string;
|
||||
dataSource?: DataSource;
|
||||
config?: AppConfig;
|
||||
config?: AppConfig | Record<string, any>;
|
||||
id?: string;
|
||||
config?: Record<string, any>;
|
||||
meta?: Record<string, any>;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user