Browse Source

完善空炸功能

wbspool 1 year ago
parent
commit
48071e4cc7

+ 2 - 2
BusinessCommon/src/main/java/com/develop/common/ui/CommonBindingActivity.kt

@@ -241,8 +241,8 @@ abstract class CommonBindingActivity<T : ViewBinding> : BaseBindingActivity<T>()
                 }
 
                 override fun onCancel() {
-                    if (event.confirm != null) {
-                        event.confirm.callback();
+                    if (event.cancel != null) {
+                        event.cancel.callback();
                     }
                     cancelConfirmDialog.removeSelf();
                     lastMsg = "";