MessageBox.confirm('', {
                    title: '注意',
                    message: message,
                    showCancelButton: false,
                    // confirmButtonText: 'abc',
                    // cancelButtonText: '123'
                }).then(action => {
                    if (action == 'confirm') { //确认的回调
                        window.location.reload();
                    }
                }).catch(err => {
                    if (err == 'cancel') { //取消的回调
                        window.location.reload();
                    }
                });

 

Logo

前往低代码交流专区

更多推荐