@zgfe/business-lib 1.1.8-dm.0 → 1.1.8-dm.2

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.
@@ -37,7 +37,6 @@ export interface BasicProp {
37
37
  type?: PropType;
38
38
  realTime?: boolean;
39
39
  dimensionSub?: string;
40
- isHidden?: boolean;
41
40
  }
42
41
  export interface UserProp extends BasicProp {
43
42
  name: string;
@@ -56,6 +55,7 @@ export interface EventProp extends BasicProp {
56
55
  eventId?: number;
57
56
  propCategory: 'eventProp';
58
57
  key?: number;
58
+ isHidden?: boolean;
59
59
  }
60
60
  export interface PropGroups {
61
61
  eventGroupList?: EventGroup[];
@@ -54,7 +54,6 @@ export default function convertAttributeData(store) {
54
54
  res.envPropList = (_store$envPropList = store.envPropList) === null || _store$envPropList === void 0 ? void 0 : _store$envPropList.map(function (prop) {
55
55
  return {
56
56
  id: prop.id || 0,
57
- isHidden: prop.hidden,
58
57
  alias: prop.alias_name,
59
58
  category: prop.category,
60
59
  key: "envProp-".concat(prop.dimension_sub),
@@ -69,7 +68,6 @@ export default function convertAttributeData(store) {
69
68
  res.userPropList = (_store$userPropList = store.userPropList) === null || _store$userPropList === void 0 ? void 0 : _store$userPropList.map(function (prop) {
70
69
  return {
71
70
  id: prop.id || 0,
72
- isHidden: prop.hidden,
73
71
  alias: prop.alias_name,
74
72
  category: prop.category,
75
73
  key: "userProp-".concat(prop.name),
package/es/utils/ajax.js CHANGED
@@ -71,7 +71,6 @@ function responseErrorHandler(url, apiResult, errorTitle) {
71
71
  if (new RegExp("".concat(ResponseStatus.success, "$")).test(apiResult.code)) {
72
72
  flag = true;
73
73
  } else if (new RegExp("".concat(ResponseStatus.notLogin)).test(apiResult.code)) {
74
- flag = true;
75
74
  message = '账户未登录或登录已失效';
76
75
  }
77
76
 
@@ -45,7 +45,6 @@ export declare namespace OldSystem {
45
45
  prop_type: PropType;
46
46
  }
47
47
  interface UserProp {
48
- hidden: boolean;
49
48
  id: number;
50
49
  alias_name?: string;
51
50
  category: 'fixed' | 'custom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.8-dm.0",
3
+ "version": "1.1.8-dm.2",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.12.0 || ^17.0.0",
61
61
  "yorkie": "^2.0.0"
62
62
  },
63
- "gitHead": "423642b198e790176501cb83fa3ff8a7d309a3ea"
63
+ "gitHead": "5c15ddca8f7be456536ef4ad774285affe5c42ba"
64
64
  }