chore: 删掉无用的代码 (#2832)

This commit is contained in:
吴多益 2021-11-02 22:55:40 +08:00 committed by GitHub
parent 3a8be30316
commit 9e7032bf16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -629,10 +629,6 @@ export class DialogRenderer extends Dialog {
tryChildrenToHandle(action: Action, ctx: object, rawAction?: Action) {
const scoped = this.context as IScopedContext;
if (action.fromDialog) {
return false;
}
const targets: Array<any> = [];
const {onConfirm, store} = this.props;

View File

@ -687,10 +687,6 @@ export class DrawerRenderer extends Drawer {
tryChildrenToHandle(action: Action, ctx: object, rawAction?: Action) {
const scoped = this.context as IScopedContext;
if (action.fromDialog) {
return false;
}
const targets: Array<any> = [];
const {onConfirm, store} = this.props;