iframe.js 887 B

1234567891011121314151617181920212223
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. import $store from "@/store";
  11. /**
  12. * 点击事件,判断是否是isIframe页面
  13. */
  14. export function goPage() {
  15. return new Promise(resolve => {
  16. if ($store.state.app.globalData.isIframe == false) {
  17. resolve(true);
  18. }else{
  19. return false
  20. }
  21. });
  22. }