mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-18 21:58:09 +08:00
bug #I5AVD2 新版本2.7.0中,全局切面中拿不到组件的别名了
This commit is contained in:
@@ -14,14 +14,14 @@ public class SpringCmpAroundAspect implements CmpAroundAspect {
|
||||
@Override
|
||||
public void beforeProcess(String nodeId, Slot<?> slot) {
|
||||
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
|
||||
ComponentScanner.cmpAroundAspect.beforeProcess(nodeId, slot.getContextBean());
|
||||
ComponentScanner.cmpAroundAspect.beforeProcess(nodeId, slot);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterProcess(String nodeId, Slot<?> slot) {
|
||||
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
|
||||
ComponentScanner.cmpAroundAspect.afterProcess(nodeId, slot.getContextBean());
|
||||
ComponentScanner.cmpAroundAspect.afterProcess(nodeId, slot);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user