diff --git a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java index 7972e22fd7..cb597417dd 100644 --- a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java +++ b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java @@ -45,7 +45,9 @@ public class CheckDialog extends BaseFloatDialog { checkDetail = findViewById(R.id.check_detail); checkDetail.setOnClickListener(v -> { cancel(); - CallerCheckManager.startCheckActivity(mContext); + if (mContext != null) { + CallerCheckManager.startCheckActivity(mContext); + } }); //根据条件显示体检页面/风险提示