feat:支持二次确认弹窗确认、取消按钮
This commit is contained in:
@@ -2132,13 +2132,17 @@ export class PageLevel extends BaseView {
|
||||
}
|
||||
|
||||
const modal = CommonModal.show(this.commonModalPrefab, {
|
||||
title: '切换下一题',
|
||||
content: '确认进入下一题吗?',
|
||||
buttonHint: '确认',
|
||||
title: '提示',
|
||||
content: '还有时间,确认进入下一题吗?',
|
||||
buttonConfirm: '确认',
|
||||
buttonCancel: '再想想',
|
||||
zIndex: CommonModal.MODAL_Z_INDEX + 1,
|
||||
onClose: () => {
|
||||
this._commonModalNode = null;
|
||||
},
|
||||
onCancel: () => {
|
||||
this._commonModalNode = null;
|
||||
},
|
||||
onConfirm: () => {
|
||||
this._commonModalNode = null;
|
||||
onConfirm();
|
||||
|
||||
Reference in New Issue
Block a user