antd-management-fast-framework 1.11.33 → 1.11.38
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.
- package/es/customComponents/FunctionComponent/index.d.ts +1 -0
- package/es/customComponents/FunctionComponent/index.js +9 -0
- package/es/framework/Common/index.d.ts +1 -1
- package/es/framework/Common/index.js +26 -22
- package/es/framework/DataListView/Base/index.d.ts +1 -0
- package/es/framework/DataListView/Base/index.js +50 -36
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +7 -10
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +10 -13
- package/es/utils/authority.js +3 -4
- package/package.json +2 -2
|
@@ -77,6 +77,7 @@ export function buildMenu({ handleData: r, handleMenuClick, menuItems, }: {
|
|
|
77
77
|
menuItems?: any[] | undefined;
|
|
78
78
|
}): JSX.Element;
|
|
79
79
|
export function buildTree(props: any): JSX.Element;
|
|
80
|
+
export function buildAlert(props: any): JSX.Element;
|
|
80
81
|
export function buildCustomGrid({ key, list, props }: {
|
|
81
82
|
key?: any;
|
|
82
83
|
list: any;
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.adjustTableExpandConfig = adjustTableExpandConfig;
|
|
7
|
+
exports.buildAlert = buildAlert;
|
|
7
8
|
exports.buildButton = buildButton;
|
|
8
9
|
exports.buildButtonGroup = buildButtonGroup;
|
|
9
10
|
exports.buildColorText = buildColorText;
|
|
@@ -90,6 +91,10 @@ require("antd/es/col/style");
|
|
|
90
91
|
|
|
91
92
|
var _col = _interopRequireDefault(require("antd/es/col"));
|
|
92
93
|
|
|
94
|
+
require("antd/es/alert/style");
|
|
95
|
+
|
|
96
|
+
var _alert = _interopRequireDefault(require("antd/es/alert"));
|
|
97
|
+
|
|
93
98
|
require("antd/es/tree/style");
|
|
94
99
|
|
|
95
100
|
var _tree = _interopRequireDefault(require("antd/es/tree"));
|
|
@@ -924,6 +929,10 @@ function buildTree(props) {
|
|
|
924
929
|
return /*#__PURE__*/_react.default.createElement(_tree.default, props);
|
|
925
930
|
}
|
|
926
931
|
|
|
932
|
+
function buildAlert(props) {
|
|
933
|
+
return /*#__PURE__*/_react.default.createElement(_alert.default, props);
|
|
934
|
+
}
|
|
935
|
+
|
|
927
936
|
function buildCustomGrid(_ref7) {
|
|
928
937
|
var _ref7$key = _ref7.key,
|
|
929
938
|
key = _ref7$key === void 0 ? null : _ref7$key,
|
|
@@ -133,7 +133,7 @@ declare class Common extends Core {
|
|
|
133
133
|
showIcon?: boolean | undefined;
|
|
134
134
|
}) => JSX.Element | null;
|
|
135
135
|
establishFormAdditionalConfig: () => {};
|
|
136
|
-
renderRefreshButton: () => JSX.Element;
|
|
136
|
+
renderRefreshButton: (props?: any) => JSX.Element | null;
|
|
137
137
|
getUploadTokenObject: () => never;
|
|
138
138
|
beforeVideoUpload: (file: any) => boolean;
|
|
139
139
|
pretreatmentImageUploadRemoteResponse: (response: any) => never;
|
|
@@ -128,12 +128,12 @@ var Common = /*#__PURE__*/function (_Core) {
|
|
|
128
128
|
|
|
129
129
|
var _super = _createSuper(Common);
|
|
130
130
|
|
|
131
|
-
function Common(
|
|
131
|
+
function Common(_props) {
|
|
132
132
|
var _this;
|
|
133
133
|
|
|
134
134
|
_classCallCheck(this, Common);
|
|
135
135
|
|
|
136
|
-
_this = _super.call(this,
|
|
136
|
+
_this = _super.call(this, _props);
|
|
137
137
|
_this.loadDataAfterMount = true;
|
|
138
138
|
_this.lastRequestingData = {
|
|
139
139
|
type: '',
|
|
@@ -1108,18 +1108,22 @@ var Common = /*#__PURE__*/function (_Core) {
|
|
|
1108
1108
|
};
|
|
1109
1109
|
|
|
1110
1110
|
_this.renderRefreshButton = function () {
|
|
1111
|
-
var
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1111
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
1112
|
+
|
|
1113
|
+
var _size$text = _objectSpread(_objectSpread({}, {
|
|
1114
|
+
size: 'default',
|
|
1115
|
+
text: '刷新'
|
|
1116
|
+
}), props || {}),
|
|
1117
|
+
size = _size$text.size,
|
|
1118
|
+
text = _size$text.text;
|
|
1119
|
+
|
|
1120
|
+
return (0, _FunctionComponent.buildButton)({
|
|
1121
|
+
size: size,
|
|
1122
|
+
text: text,
|
|
1123
|
+
icon: /*#__PURE__*/_react.default.createElement(_icons.ReloadOutlined, null),
|
|
1124
|
+
disabled: _this.checkOperability(),
|
|
1125
|
+
handleClick: _this.reloadData
|
|
1126
|
+
});
|
|
1123
1127
|
};
|
|
1124
1128
|
|
|
1125
1129
|
_this.getUploadTokenObject = function () {
|
|
@@ -1970,7 +1974,7 @@ var Common = /*#__PURE__*/function (_Core) {
|
|
|
1970
1974
|
|
|
1971
1975
|
switch (buildType) {
|
|
1972
1976
|
case _constants.cardConfig.extraBuildType.refresh:
|
|
1973
|
-
itemAdjust = _this.renderRefreshButton();
|
|
1977
|
+
itemAdjust = _this.renderRefreshButton(item);
|
|
1974
1978
|
break;
|
|
1975
1979
|
|
|
1976
1980
|
case _constants.cardConfig.extraBuildType.save:
|
|
@@ -2144,13 +2148,13 @@ var Common = /*#__PURE__*/function (_Core) {
|
|
|
2144
2148
|
}, {
|
|
2145
2149
|
key: "checkWorkDoing",
|
|
2146
2150
|
value: function checkWorkDoing() {
|
|
2147
|
-
var _this$
|
|
2148
|
-
dataLoading = _this$
|
|
2149
|
-
reloading = _this$
|
|
2150
|
-
searching = _this$
|
|
2151
|
-
refreshing = _this$
|
|
2152
|
-
paging = _this$
|
|
2153
|
-
processing = _this$
|
|
2151
|
+
var _this$state2 = this.state,
|
|
2152
|
+
dataLoading = _this$state2.dataLoading,
|
|
2153
|
+
reloading = _this$state2.reloading,
|
|
2154
|
+
searching = _this$state2.searching,
|
|
2155
|
+
refreshing = _this$state2.refreshing,
|
|
2156
|
+
paging = _this$state2.paging,
|
|
2157
|
+
processing = _this$state2.processing;
|
|
2154
2158
|
|
|
2155
2159
|
if (dataLoading || reloading || searching || refreshing || paging || processing) {
|
|
2156
2160
|
var text = '数据正在处理中,请稍等一下再点哦';
|
|
@@ -177,6 +177,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
177
177
|
_this.useRemotePagination = true;
|
|
178
178
|
_this.useFrontendPagination = false;
|
|
179
179
|
_this.useFrontendPagination = false;
|
|
180
|
+
_this.showSearchForm = true;
|
|
180
181
|
_this.affixPaginationBar = true;
|
|
181
182
|
_this.formRef = /*#__PURE__*/_react.default.createRef();
|
|
182
183
|
_this.pageSizeAdditional = 0;
|
|
@@ -1446,27 +1447,15 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1446
1447
|
};
|
|
1447
1448
|
|
|
1448
1449
|
_this.renderContentArea = function () {
|
|
1449
|
-
var
|
|
1450
|
-
listTitle = _this$state10.listTitle,
|
|
1451
|
-
renderSearchForm = _this$state10.renderSearchForm;
|
|
1450
|
+
var listTitle = _this.state.listTitle;
|
|
1452
1451
|
|
|
1453
1452
|
var extraAction = _this.renderExtraActionView();
|
|
1454
1453
|
|
|
1455
1454
|
var searchForm = _this.renderForm();
|
|
1456
1455
|
|
|
1457
1456
|
var hasPagination = _this.renderPaginationView() != null;
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
width: '100%'
|
|
1461
|
-
},
|
|
1462
|
-
direction: "vertical",
|
|
1463
|
-
size: 24
|
|
1464
|
-
}, renderSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_card.default, {
|
|
1465
|
-
bordered: false,
|
|
1466
|
-
className: _index.default.containorSearch
|
|
1467
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
1468
|
-
className: _index.default.tableListForm
|
|
1469
|
-
}, searchForm))) : null, /*#__PURE__*/_react.default.createElement(_card.default, {
|
|
1457
|
+
|
|
1458
|
+
var gridView = /*#__PURE__*/_react.default.createElement(_card.default, {
|
|
1470
1459
|
title: listTitle,
|
|
1471
1460
|
headStyle: {
|
|
1472
1461
|
borderBottom: '0px'
|
|
@@ -1482,7 +1471,24 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1482
1471
|
}), _this.renderBatchAction(), _this.renderCardExtraAction())
|
|
1483
1472
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
1484
1473
|
className: _index.default.tableList
|
|
1485
|
-
}, _this.renderAboveTable(), _this.renderView()))
|
|
1474
|
+
}, _this.renderAboveTable(), _this.renderView()));
|
|
1475
|
+
|
|
1476
|
+
if (!_this.showSearchForm || (searchForm || null) == null) {
|
|
1477
|
+
return gridView;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
return /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
1481
|
+
style: {
|
|
1482
|
+
width: '100%'
|
|
1483
|
+
},
|
|
1484
|
+
direction: "vertical",
|
|
1485
|
+
size: 24
|
|
1486
|
+
}, /*#__PURE__*/_react.default.createElement(_card.default, {
|
|
1487
|
+
bordered: false,
|
|
1488
|
+
className: _index.default.containorSearch
|
|
1489
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
1490
|
+
className: _index.default.tableListForm
|
|
1491
|
+
}, searchForm)), gridView);
|
|
1486
1492
|
};
|
|
1487
1493
|
|
|
1488
1494
|
_this.establishPageContentLayoutSiderConfig = function () {
|
|
@@ -1529,18 +1535,27 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1529
1535
|
}
|
|
1530
1536
|
}), layoutConfig || {});
|
|
1531
1537
|
var inner = siderArea == null ? contentArea : /*#__PURE__*/_react.default.createElement(_layout.default, layoutConfig, siderPosition === 'left' ? /*#__PURE__*/_react.default.createElement(Sider, siderConfig, siderArea) : null, /*#__PURE__*/_react.default.createElement(Content, null, contentArea), siderPosition !== 'left' ? /*#__PURE__*/_react.default.createElement(Sider, siderConfig, siderArea) : null);
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1538
|
+
|
|
1539
|
+
var toolbar = _this.buildToolBarWrapper();
|
|
1540
|
+
|
|
1541
|
+
var help = _this.buildHelpWrapper();
|
|
1542
|
+
|
|
1543
|
+
if ((toolbar || null) != null || (help || null) != null) {
|
|
1544
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
1545
|
+
className: _index.default.containorBox,
|
|
1546
|
+
style: {
|
|
1547
|
+
overflowX: 'hidden'
|
|
1548
|
+
}
|
|
1549
|
+
}, /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
1550
|
+
style: {
|
|
1551
|
+
width: '100%'
|
|
1552
|
+
},
|
|
1553
|
+
direction: "vertical",
|
|
1554
|
+
size: 24
|
|
1555
|
+
}, _this.buildToolBarWrapper(), inner, _this.buildHelpWrapper()));
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
return inner;
|
|
1544
1559
|
};
|
|
1545
1560
|
|
|
1546
1561
|
_this.renderPageBody = function () {
|
|
@@ -1560,7 +1575,6 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1560
1575
|
showPageHeaderAvatar: false,
|
|
1561
1576
|
tableSize: _constants.listViewConfig.tableSize.middle,
|
|
1562
1577
|
counterSetColumnsOtherConfig: 0,
|
|
1563
|
-
renderSearchForm: true,
|
|
1564
1578
|
showListViewItemActionSelect: false
|
|
1565
1579
|
});
|
|
1566
1580
|
return _this;
|
|
@@ -1571,13 +1585,13 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1571
1585
|
value: function renderFurther() {
|
|
1572
1586
|
var _this2 = this;
|
|
1573
1587
|
|
|
1574
|
-
var _this$
|
|
1575
|
-
renderPageHeaderWrapper = _this$
|
|
1576
|
-
showPageHeaderAvatar = _this$
|
|
1577
|
-
defaultAvatarIcon = _this$
|
|
1578
|
-
dataLoading = _this$
|
|
1579
|
-
reloading = _this$
|
|
1580
|
-
avatarImageLoadResult = _this$
|
|
1588
|
+
var _this$state10 = this.state,
|
|
1589
|
+
renderPageHeaderWrapper = _this$state10.renderPageHeaderWrapper,
|
|
1590
|
+
showPageHeaderAvatar = _this$state10.showPageHeaderAvatar,
|
|
1591
|
+
defaultAvatarIcon = _this$state10.defaultAvatarIcon,
|
|
1592
|
+
dataLoading = _this$state10.dataLoading,
|
|
1593
|
+
reloading = _this$state10.reloading,
|
|
1594
|
+
avatarImageLoadResult = _this$state10.avatarImageLoadResult;
|
|
1581
1595
|
var tabListAvailable = this.getTabListAvailable();
|
|
1582
1596
|
var avatarProps = showPageHeaderAvatar ? (0, _DecorateAvatar.decorateAvatar)(this.establishPageHeaderAvatarConfig(), defaultAvatarIcon, showPageHeaderAvatar, dataLoading, reloading, avatarImageLoadResult, function () {
|
|
1583
1597
|
_this2.onPageHeaderAvatarLoadErrorCallback();
|
|
@@ -226,8 +226,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
|
|
|
226
226
|
reloading = _this$state.reloading,
|
|
227
227
|
processing = _this$state.processing,
|
|
228
228
|
refreshing = _this$state.refreshing,
|
|
229
|
-
listViewMode = _this$state.listViewMode
|
|
230
|
-
renderSearchForm = _this$state.renderSearchForm;
|
|
229
|
+
listViewMode = _this$state.listViewMode;
|
|
231
230
|
|
|
232
231
|
var extraAction = _this.renderExtraActionView();
|
|
233
232
|
|
|
@@ -247,7 +246,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
|
|
|
247
246
|
display: 'flex',
|
|
248
247
|
flexDirection: 'column'
|
|
249
248
|
} : {}
|
|
250
|
-
},
|
|
249
|
+
}, _this.showSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement("div", {
|
|
251
250
|
style: listViewMode === _constants.listViewConfig.viewMode.list ? {
|
|
252
251
|
flex: 0
|
|
253
252
|
} : {}
|
|
@@ -353,9 +352,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
|
|
|
353
352
|
};
|
|
354
353
|
|
|
355
354
|
_this.renderContentContainor = function () {
|
|
356
|
-
var
|
|
357
|
-
listViewMode = _this$state2.listViewMode,
|
|
358
|
-
renderSearchForm = _this$state2.renderSearchForm;
|
|
355
|
+
var listViewMode = _this.state.listViewMode;
|
|
359
356
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
360
357
|
className: _index.default.contentContainor,
|
|
361
358
|
style: _objectSpread(_objectSpread(_objectSpread({}, listViewMode === _constants.listViewConfig.viewMode.list ? {
|
|
@@ -364,7 +361,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
|
|
|
364
361
|
overflow: 'hidden'
|
|
365
362
|
} : {
|
|
366
363
|
paddingBottom: 0
|
|
367
|
-
}),
|
|
364
|
+
}), _this.showSearchForm ? {} : {
|
|
368
365
|
paddingTop: 0
|
|
369
366
|
}), {
|
|
370
367
|
backgroundColor: '#fff'
|
|
@@ -466,9 +463,9 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
|
|
|
466
463
|
key: "renderFurther",
|
|
467
464
|
value: function renderFurther() {
|
|
468
465
|
var widthDrawer = this.props.width;
|
|
469
|
-
var _this$
|
|
470
|
-
visible = _this$
|
|
471
|
-
listViewMode = _this$
|
|
466
|
+
var _this$state2 = this.state,
|
|
467
|
+
visible = _this$state2.visible,
|
|
468
|
+
listViewMode = _this$state2.listViewMode;
|
|
472
469
|
return /*#__PURE__*/_react.default.createElement(_drawer.default, {
|
|
473
470
|
title: /*#__PURE__*/_react.default.createElement("span", null, this.renderTitleIcon(), this.getPageName()),
|
|
474
471
|
destroyOnClose: false,
|
|
@@ -212,8 +212,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
212
212
|
listTitle = _this$state.listTitle,
|
|
213
213
|
tableSize = _this$state.tableSize,
|
|
214
214
|
refreshing = _this$state.refreshing,
|
|
215
|
-
listViewMode = _this$state.listViewMode
|
|
216
|
-
renderSearchForm = _this$state.renderSearchForm;
|
|
215
|
+
listViewMode = _this$state.listViewMode;
|
|
217
216
|
|
|
218
217
|
var extraAction = _this.renderExtraActionView();
|
|
219
218
|
|
|
@@ -233,7 +232,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
233
232
|
display: 'flex',
|
|
234
233
|
flexDirection: 'column'
|
|
235
234
|
} : {}
|
|
236
|
-
},
|
|
235
|
+
}, _this.showSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement("div", {
|
|
237
236
|
style: listViewMode === _constants.listViewConfig.viewMode.list ? {
|
|
238
237
|
flex: 0
|
|
239
238
|
} : {}
|
|
@@ -336,9 +335,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
336
335
|
};
|
|
337
336
|
|
|
338
337
|
_this.renderContentContainor = function () {
|
|
339
|
-
var
|
|
340
|
-
listViewMode = _this$state2.listViewMode,
|
|
341
|
-
renderSearchForm = _this$state2.renderSearchForm;
|
|
338
|
+
var listViewMode = _this.state.listViewMode;
|
|
342
339
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
343
340
|
className: _index.default.contentContainor,
|
|
344
341
|
style: _objectSpread(_objectSpread(_objectSpread({}, listViewMode === _constants.listViewConfig.viewMode.list ? {
|
|
@@ -347,7 +344,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
347
344
|
overflow: 'hidden'
|
|
348
345
|
} : {
|
|
349
346
|
paddingBottom: 0
|
|
350
|
-
}),
|
|
347
|
+
}), _this.showSearchForm ? {} : {
|
|
351
348
|
paddingTop: 0
|
|
352
349
|
}), {
|
|
353
350
|
backgroundColor: '#fff'
|
|
@@ -367,9 +364,9 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
367
364
|
};
|
|
368
365
|
|
|
369
366
|
_this.renderListView = function () {
|
|
370
|
-
var _this$
|
|
371
|
-
dataLoading = _this$
|
|
372
|
-
listViewMode = _this$
|
|
367
|
+
var _this$state2 = _this.state,
|
|
368
|
+
dataLoading = _this$state2.dataLoading,
|
|
369
|
+
listViewMode = _this$state2.listViewMode;
|
|
373
370
|
var list = _this.getCanUseFrontendPagination() ? _this.adjustFrontendPaginationViewDataSource() : _this.adjustViewDataSource();
|
|
374
371
|
|
|
375
372
|
var bottomBar = _this.renderPaginationView();
|
|
@@ -444,9 +441,9 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
444
441
|
key: "renderFurther",
|
|
445
442
|
value: function renderFurther() {
|
|
446
443
|
var widthDrawer = this.props.width;
|
|
447
|
-
var _this$
|
|
448
|
-
visible = _this$
|
|
449
|
-
listViewMode = _this$
|
|
444
|
+
var _this$state3 = this.state,
|
|
445
|
+
visible = _this$state3.visible,
|
|
446
|
+
listViewMode = _this$state3.listViewMode;
|
|
450
447
|
return /*#__PURE__*/_react.default.createElement(_drawer.default, {
|
|
451
448
|
title: /*#__PURE__*/_react.default.createElement("span", null, this.renderTitleIcon(), this.getPageName()),
|
|
452
449
|
destroyOnClose: false,
|
package/es/utils/authority.js
CHANGED
|
@@ -70,13 +70,13 @@ function getSuperPermission() {
|
|
|
70
70
|
});
|
|
71
71
|
|
|
72
72
|
if ((0, _tools.isObject)(superPermission)) {
|
|
73
|
-
var
|
|
73
|
+
var superAuth = (0, _tools.getValueByKey)({
|
|
74
74
|
data: superPermission,
|
|
75
75
|
key: 'permission'
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
if ((0, _tools.isString)(
|
|
79
|
-
result =
|
|
78
|
+
if ((0, _tools.isString)(superAuth)) {
|
|
79
|
+
result = superAuth;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -199,7 +199,6 @@ function checkHasAuthorityCore(auth) {
|
|
|
199
199
|
|
|
200
200
|
if ((v !== null && v !== void 0 ? v : null) == null) {
|
|
201
201
|
(0, _tools.recordObject)({
|
|
202
|
-
superAuth: superAuth,
|
|
203
202
|
checkAuthority: auth,
|
|
204
203
|
listAuthority: list,
|
|
205
204
|
accessWayCollection: accessWayCollection
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.38",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"array-move": "^4.0.0",
|
|
37
37
|
"bizcharts": "^4.1.15",
|
|
38
38
|
"browserslist": "^4.18.1",
|
|
39
|
-
"caniuse-lite": "^1.0.
|
|
39
|
+
"caniuse-lite": "^1.0.30001286",
|
|
40
40
|
"classnames": "^2.3.1",
|
|
41
41
|
"copy-to-clipboard": "^3.3.1",
|
|
42
42
|
"enquire-js": "^0.2.1",
|