antd-management-fast-framework 1.12.20 → 1.12.21
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.
|
@@ -259,7 +259,10 @@ var Base = /*#__PURE__*/function (_Component) {
|
|
|
259
259
|
value: function showRenderCount() {
|
|
260
260
|
if (this.showRenderCountInConsole) {
|
|
261
261
|
this.renderCount += 1;
|
|
262
|
-
|
|
262
|
+
var text = "render frequency: ".concat(this.renderCount);
|
|
263
|
+
(0, _tools.showInfoMessage)({
|
|
264
|
+
message: text
|
|
265
|
+
});
|
|
263
266
|
}
|
|
264
267
|
}
|
|
265
268
|
/**
|
|
@@ -419,7 +419,7 @@ var Common = /*#__PURE__*/function (_Core) {
|
|
|
419
419
|
metaOriginalData: metaOriginalData || null
|
|
420
420
|
});
|
|
421
421
|
} catch (e) {
|
|
422
|
-
|
|
422
|
+
(0, _tools.recordObject)(e);
|
|
423
423
|
var text = "".concat((0, _tools.toString)(e), ",place view in the console");
|
|
424
424
|
(0, _tools.showErrorMessage)({
|
|
425
425
|
message: text
|
package/es/utils/authority.js
CHANGED
|
@@ -167,14 +167,18 @@ function checkHasAuthorities(authCollection) {
|
|
|
167
167
|
function checkHasAuthorityCore(auth) {
|
|
168
168
|
if (checkIsSuper()) {
|
|
169
169
|
return true;
|
|
170
|
-
}
|
|
170
|
+
} // if (isObject(auth)) {
|
|
171
|
+
// console.log({
|
|
172
|
+
// auth,
|
|
173
|
+
// attachedTargetName:
|
|
174
|
+
// (this || null) != null
|
|
175
|
+
// ? (this.constructor || null) != null
|
|
176
|
+
// ? this.constructor.name
|
|
177
|
+
// : ''
|
|
178
|
+
// : '',
|
|
179
|
+
// });
|
|
180
|
+
// }
|
|
171
181
|
|
|
172
|
-
if ((0, _tools.isObject)(auth)) {
|
|
173
|
-
console.log({
|
|
174
|
-
auth: auth,
|
|
175
|
-
attachedTargetName: (this || null) != null ? (this.constructor || null) != null ? this.constructor.name : '' : ''
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
182
|
|
|
179
183
|
var result = '0';
|
|
180
184
|
var existCache = (0, _cacheAssist.hasCache)({
|
|
@@ -214,13 +218,17 @@ function checkHasAuthorityCore(auth) {
|
|
|
214
218
|
}
|
|
215
219
|
|
|
216
220
|
function checkHasAuthority(auth) {
|
|
217
|
-
if (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
// if (isObject(auth)) {
|
|
222
|
+
// console.log({
|
|
223
|
+
// auth,
|
|
224
|
+
// attachedTargetName:
|
|
225
|
+
// (this || null) != null
|
|
226
|
+
// ? (this.constructor || null) != null
|
|
227
|
+
// ? this.constructor.name
|
|
228
|
+
// : ''
|
|
229
|
+
// : '',
|
|
230
|
+
// });
|
|
231
|
+
// }
|
|
224
232
|
if ((0, _tools.isArray)(auth)) {
|
|
225
233
|
return checkHasAuthorities(auth);
|
|
226
234
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.21",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
"bugs": {
|
|
172
172
|
"url": "https://github.com/kityandhero/antd-management-fast-framework/issues"
|
|
173
173
|
},
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "d9178482e73291b0f0b4dfcc0d0c1623a4c86789"
|
|
175
175
|
}
|