mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
chore: 删掉无用的代码 (#2832)
This commit is contained in:
parent
3a8be30316
commit
9e7032bf16
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user