authLapse.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. export function authLapse(data) {
  11. return new Promise((resolve, reject) => {
  12. this.$Notice.warning({
  13. title: data.title,
  14. duration: 3,
  15. desc: data.info,
  16. render: (h) => {
  17. return h('div', [
  18. h(
  19. 'a',
  20. {
  21. attrs: {
  22. href: 'http://www.crmeb.com',
  23. },
  24. },
  25. data.info,
  26. ),
  27. ]);
  28. },
  29. });
  30. // if(data.status === false){
  31. //
  32. // }
  33. });
  34. }