szld-libs 0.2.93 → 0.2.95
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/dist/szld-components.es.js +1307 -1305
- package/dist/szld-components.umd.js +24 -24
- package/es/utils/method.js +0 -2
- package/lib/utils/method.js +0 -2
- package/package.json +1 -1
package/es/utils/method.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { message } from "antd";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import _ from "lodash";
|
|
4
|
-
import { handleObjDetailToSignleAttrList } from "./szxkFunc";
|
|
5
4
|
function getJson(jsonStr) {
|
|
6
5
|
try {
|
|
7
6
|
return JSON.parse(jsonStr);
|
|
@@ -314,7 +313,6 @@ const handleAttrListToObj = (attrList) => {
|
|
|
314
313
|
const { attrvalue = [], children = [] } = item || {};
|
|
315
314
|
if (Array.isArray(attrvalue) && (attrvalue == null ? void 0 : attrvalue.length)) {
|
|
316
315
|
item.children = attrvalue.map((v) => {
|
|
317
|
-
return handleObjDetailToSignleAttrList((children == null ? void 0 : children[0]) || [], v);
|
|
318
316
|
});
|
|
319
317
|
result[key] = {
|
|
320
318
|
asid: ((_e = (_d = (_c = item.children) == null ? void 0 : _c[0]) == null ? void 0 : _d[0]) == null ? void 0 : _e.asid) || "",
|
package/lib/utils/method.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const antd = require("antd");
|
|
4
4
|
const dayjs = require("dayjs");
|
|
5
5
|
const _ = require("lodash");
|
|
6
|
-
const szxkFunc = require("./szxkFunc");
|
|
7
6
|
function getJson(jsonStr) {
|
|
8
7
|
try {
|
|
9
8
|
return JSON.parse(jsonStr);
|
|
@@ -316,7 +315,6 @@ const handleAttrListToObj = (attrList) => {
|
|
|
316
315
|
const { attrvalue = [], children = [] } = item || {};
|
|
317
316
|
if (Array.isArray(attrvalue) && (attrvalue == null ? void 0 : attrvalue.length)) {
|
|
318
317
|
item.children = attrvalue.map((v) => {
|
|
319
|
-
return szxkFunc.handleObjDetailToSignleAttrList((children == null ? void 0 : children[0]) || [], v);
|
|
320
318
|
});
|
|
321
319
|
result[key] = {
|
|
322
320
|
asid: ((_e = (_d = (_c = item.children) == null ? void 0 : _c[0]) == null ? void 0 : _d[0]) == null ? void 0 : _e.asid) || "",
|