authLapse.js 1.2 KB

123456789101112131415161718192021222324252627282930
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2021 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('a', {
  19. attrs: {
  20. // href: 'http://www.crmeb.com'
  21. }
  22. }, data.info)
  23. ])
  24. }
  25. });
  26. // if(data.status === false){
  27. //
  28. // }
  29. })
  30. }