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.
@@ -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) || "",
@@ -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) || "",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.2.93",
4
+ "version": "0.2.95",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",