commonAlert.js 426 B

1234567891011121314151617181920212223
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2018/6/15
  7. * @version
  8. */
  9. window.alert = function(str) {
  10. /*$('#commonAlert').find('p').text(str);
  11. $('#commonAlert').modal('show');*/
  12. if (str) {
  13. hintBox.infoBox('系统提示', str, 1);
  14. }
  15. };
  16. !function loadHintBox(){
  17. $("body").append('<div id = "hintBox_container"></div>');
  18. $("#hintBox_container").load("../../public/scHintBox.html");
  19. }();