diff --git a/common/src/main/java/com/yunbao/common/dialog/AbsDialogFragment.java b/common/src/main/java/com/yunbao/common/dialog/AbsDialogFragment.java index c59f81807..99243dcfb 100644 --- a/common/src/main/java/com/yunbao/common/dialog/AbsDialogFragment.java +++ b/common/src/main/java/com/yunbao/common/dialog/AbsDialogFragment.java @@ -80,7 +80,9 @@ public abstract class AbsDialogFragment extends DialogFragment { @Override public void show(@NonNull FragmentManager manager, @Nullable String tag) { try { - super.show(manager, tag); + if (manager.findFragmentByTag(tag) == null) { + super.show(manager, tag); + } } catch (Exception e) { e.printStackTrace(); }