From d82fec9e2a4238ff1833e67c01bc9b34e525d904 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 25 二月 2022 16:37:12 +0800
Subject: [PATCH] 2022-02-25

---
 package-lock.json                                     |   13 +++++++++++++
 package.json                                          |    1 +
 src/tabviews/zshare/actionList/normalbutton/index.jsx |    6 ++++++
 3 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 8a03d23..f712e6b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2955,6 +2955,11 @@
         "@xtuc/long": "4.2.2"
       }
     },
+    "@xmldom/xmldom": {
+      "version": "0.7.5",
+      "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz",
+      "integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A=="
+    },
     "@xtuc/ieee754": {
       "version": "1.2.0",
       "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
@@ -21234,6 +21239,14 @@
         "async-limiter": "~1.0.0"
       }
     },
+    "x2js": {
+      "version": "3.4.3",
+      "resolved": "https://registry.npmjs.org/x2js/-/x2js-3.4.3.tgz",
+      "integrity": "sha512-+65+WHCaQ9E0Gb2FDz/tYRSRBGGvFsSMiWDGn8KbgJOLkJhZBMCU1lxuRMLyTcx/54IopT0rDQWCUz2f7FTsyQ==",
+      "requires": {
+        "@xmldom/xmldom": "^0.7.4"
+      }
+    },
     "xcode": {
       "version": "2.1.0",
       "resolved": "https://registry.npmjs.org/xcode/-/xcode-2.1.0.tgz",
diff --git a/package.json b/package.json
index 7ceec02..ff154ab 100644
--- a/package.json
+++ b/package.json
@@ -100,6 +100,7 @@
     "webpack-dev-server": "3.2.1",
     "webpack-manifest-plugin": "2.0.4",
     "workbox-webpack-plugin": "4.3.1",
+    "x2js": "^3.4.3",
     "xlsx": "^0.15.5"
   },
   "scripts": {
diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index 1accd69..55ca27b 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1021,6 +1021,12 @@
       _resolve()
     })
   }
+  // xml璋冪敤鏂瑰紡
+  // Api.directRequest('http://localhost:3001/test.xml', 'get', null, 'true').then(res => {
+  //   let $x2js = new x2js()
+  //   let jsonObj = $x2js.xml2js(res);
+  //   console.info(jsonObj)
+  // })
 
   /**
    * @description 鑷畾涔夎姹傚惊鐜墽琛�

--
Gitblit v1.8.0