@yeeyoon/library 3.5.6 → 3.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -255,7 +255,9 @@ const Header = (props) => {
255
255
  />
256
256
  </Tooltip>
257
257
  )}
258
- <div className={styles['comp-header__slot']}>{prefixSlot}</div>
258
+ {isSharePlatform && (
259
+ <div className={styles['comp-header__slot']}>{prefixSlot}</div>
260
+ )}
259
261
  <span
260
262
  className={styles['comp-header__logo']}
261
263
  onClick={() => {
@@ -3,6 +3,7 @@ import { createFromIconfontCN } from '@ant-design/icons';
3
3
 
4
4
  const Icons = createFromIconfontCN({
5
5
  scriptUrl: [
6
+ '//at.alicdn.com/t/font_3133477_q292mp6e2u.js',
6
7
  '//at.alicdn.com/t/font_2716486_dpnjwgvqpfn.js',
7
8
  '//at.alicdn.com/t/font_2832661_kmrn4o901g.js', //宜云协同iconfont
8
9
  '//at.alicdn.com/t/font_2832313_vjeg45f5qof.js',
@@ -4,7 +4,7 @@ import qs from 'qs';
4
4
  import ls from 'local-storage';
5
5
  import { notification } from 'antd';
6
6
 
7
- import { HOST_IAM } from '../config/env';
7
+ import { HOST_IAM, HOST_HUASHAN_BPM, HOST_HUASHAN_LOGIN } from '../config/env';
8
8
 
9
9
  const TOKEN_KEY = 'X-Auth-Token';
10
10
  const ID_KEY = 'X-Auth-Id';
@@ -44,8 +44,8 @@ rest && ls.set(REST_KEY, JSON.stringify(rest));
44
44
 
45
45
  const backToIam = () => {
46
46
  const { origin, pathname } = window.location;
47
- if (origin.indexOf('huashan') > -1) {
48
- window.location.href = 'https://testing-huashan-login.yeeyoon.com/login';
47
+ if (origin.indexOf(HOST_HUASHAN_BPM) > -1) {
48
+ window.location.href = HOST_HUASHAN_LOGIN;
49
49
  } else {
50
50
  window.location.href = `${HOST_IAM}?redirect=${origin}${pathname}`;
51
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "3.5.6",
3
+ "version": "3.5.9",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {