fix: fix lint issues for renderer-core/renderer/base

This commit is contained in:
JackLian 2022-06-29 21:15:24 +08:00 committed by 刘菊萍(絮黎)
parent 4b59190c7f
commit d85437d4af

View File

@ -151,9 +151,9 @@ export default function baseRendererFactory(): IBaseRenderComponent {
this.__debug(`componentWillUnmount - ${this.props?.__schema?.fileName}`); this.__debug(`componentWillUnmount - ${this.props?.__schema?.fileName}`);
} }
async componentDidCatch(e: any, ...args: any[]) { async componentDidCatch(...args: any[]) {
this.__setLifeCycleMethods('componentDidCatch', { e, ...args }); this.__setLifeCycleMethods('componentDidCatch', args);
console.warn(e); console.warn(args);
} }
reloadDataSource = () => new Promise((resolve, reject) => { reloadDataSource = () => new Promise((resolve, reject) => {