commonAlert.js 193 B

123456789101112131415
  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. };