code: function showDialog(title, content, events){
                  domDialogTitle.innerHTML = title;
                  domDialogContent.innerHTML = content;
                  okCallback = events.onOk;
                  cancelCallback = events.onCancel;
                  divDomDialog.style.display = 'block';
                  isShowDialog = true;
                  var onInit = events.onInit;
                  if(onInit){
                      onInit();
                  }
                  setDialogCenter();
              }
docs: 显示对话框