瀏覽代碼

Merge branch 'dev' of http://192.168.1.41:3000/outaozhen/cldV2react into dev

outaozhen 4 年之前
父節點
當前提交
edd1483ee6
共有 3 個文件被更改,包括 114 次插入185 次删除
  1. 0 1
      package.json
  2. 110 177
      pnpm-lock.yaml
  3. 4 7
      src/pages/Customer/Test/index.tsx

+ 0 - 1
package.json

@@ -64,7 +64,6 @@
     "lodash-es": "^4.17.21",
     "omit.js": "^2.0.2",
     "qs": "^6.9.4",
-    "rc-queue-anim": "^2.0.0",
     "rc-util": "^5.16.1",
     "react": "17.0.2",
     "react-copy-to-clipboard": "^5.0.4",

+ 110 - 177
pnpm-lock.yaml

@@ -55,7 +55,6 @@ specifiers:
   prettier: ^2.2.1
   puppeteer-core: ^5.0.0
   qs: ^6.9.4
-  rc-queue-anim: ^2.0.0
   rc-util: ^5.16.1
   react: 17.0.2
   react-copy-to-clipboard: ^5.0.4
@@ -88,7 +87,6 @@ dependencies:
   lodash-es: registry.npmmirror.com/lodash-es/4.17.21
   omit.js: registry.npmmirror.com/omit.js/2.0.2
   qs: registry.npmmirror.com/qs/6.10.3
-  rc-queue-anim: registry.npmmirror.com/rc-queue-anim/2.0.0_react-dom@17.0.2+react@17.0.2
   rc-util: registry.npmmirror.com/rc-util/5.18.1_react-dom@17.0.2+react@17.0.2
   react: registry.npmmirror.com/react/17.0.2
   react-copy-to-clipboard: registry.npmmirror.com/react-copy-to-clipboard/5.0.4_react@17.0.2
@@ -146,6 +144,91 @@ devDependencies:
 
 packages:
 
+  /@types/yauzl/2.9.2:
+    resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==}
+    requiresBuild: true
+    dependencies:
+      '@types/node': registry.npmmirror.com/@types/node/17.0.18
+    dev: true
+    optional: true
+
+  /bindings/1.5.0:
+    resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==}
+    requiresBuild: true
+    dependencies:
+      file-uri-to-path: 1.0.0
+    dev: true
+    optional: true
+
+  /file-uri-to-path/1.0.0:
+    resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
+    requiresBuild: true
+    dev: true
+    optional: true
+
+  /fsevents/1.2.13:
+    resolution: {integrity: sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==}
+    engines: {node: '>= 4.0'}
+    os: [darwin]
+    deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
+    requiresBuild: true
+    dependencies:
+      bindings: 1.5.0
+      nan: 2.15.0
+    dev: true
+    optional: true
+
+  /fsevents/2.3.2:
+    resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
+    engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+    os: [darwin]
+    requiresBuild: true
+    optional: true
+
+  /graceful-fs/4.2.9:
+    resolution: {integrity: sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==}
+    dev: true
+
+  /nan/2.15.0:
+    resolution: {integrity: sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==}
+    requiresBuild: true
+    dev: true
+    optional: true
+
+  /node-notifier/8.0.2:
+    resolution: {integrity: sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==}
+    requiresBuild: true
+    dependencies:
+      growly: registry.npmmirror.com/growly/1.3.0
+      is-wsl: registry.npmmirror.com/is-wsl/2.2.0
+      semver: registry.npmmirror.com/semver/7.3.5
+      shellwords: registry.npmmirror.com/shellwords/0.1.1
+      uuid: registry.npmmirror.com/uuid/8.3.2
+      which: registry.npmmirror.com/which/2.0.2
+    dev: true
+    optional: true
+
+  /source-map/0.5.7:
+    resolution: {integrity: sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
+  /source-map/0.6.1:
+    resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
+  /source-map/0.7.3:
+    resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==}
+    engines: {node: '>= 8'}
+    dev: true
+
+  /uglify-to-browserify/1.0.2:
+    resolution: {integrity: sha1-bgkk1r2mta/jSeOabWMoUKD4grc=}
+    requiresBuild: true
+    dev: false
+    optional: true
+
   registry.nlark.com/@nodelib/fs.scandir/2.1.5:
     resolution: {integrity: sha1-dhnC6yGyVIP20WdUi0z9WnSIw9U=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@nodelib/fs.scandir/download/@nodelib/fs.scandir-2.1.5.tgz}
     name: '@nodelib/fs.scandir'
@@ -386,14 +469,6 @@ packages:
     version: 1.1.1
     dev: true
 
-  registry.nlark.com/file-uri-to-path/1.0.0:
-    resolution: {integrity: sha1-VTp7hEb/b2hDWcRF8eN6BdrMM90=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/file-uri-to-path/download/file-uri-to-path-1.0.0.tgz}
-    name: file-uri-to-path
-    version: 1.0.0
-    requiresBuild: true
-    dev: true
-    optional: true
-
   registry.nlark.com/forwarded/0.2.0:
     resolution: {integrity: sha1-ImmTZCiq1MFcfr6XeahL8LKoGBE=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/forwarded/download/forwarded-0.2.0.tgz}
     name: forwarded
@@ -5084,7 +5159,7 @@ packages:
       terminal-link: registry.npmmirror.com/terminal-link/2.1.1
       v8-to-istanbul: registry.npmmirror.com/v8-to-istanbul/7.1.2
     optionalDependencies:
-      node-notifier: registry.npmmirror.com/node-notifier/8.0.2
+      node-notifier: 8.0.2
     transitivePeerDependencies:
       - supports-color
     dev: true
@@ -5096,7 +5171,7 @@ packages:
     engines: {node: '>= 6'}
     dependencies:
       callsites: registry.npmmirror.com/callsites/3.1.0
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
       source-map: registry.npmmirror.com/source-map/0.6.1
     dev: true
 
@@ -5107,7 +5182,7 @@ packages:
     engines: {node: '>= 10.14.2'}
     dependencies:
       callsites: registry.npmmirror.com/callsites/3.1.0
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
       source-map: registry.npmmirror.com/source-map/0.6.1
     dev: true
 
@@ -5141,7 +5216,7 @@ packages:
     engines: {node: '>= 10.14.2'}
     dependencies:
       '@jest/test-result': registry.npmmirror.com/@jest/test-result/26.6.2
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
       jest-haste-map: registry.npmmirror.com/jest-haste-map/26.6.2
       jest-runner: registry.npmmirror.com/jest-runner/26.6.3
       jest-runtime: registry.npmmirror.com/jest-runtime/26.6.3
@@ -5165,7 +5240,7 @@ packages:
       chalk: registry.npmmirror.com/chalk/2.4.2
       convert-source-map: registry.npmmirror.com/convert-source-map/1.8.0
       fast-json-stable-stringify: registry.npmmirror.com/fast-json-stable-stringify/2.1.0
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
       jest-haste-map: registry.npmmirror.com/jest-haste-map/24.9.0
       jest-regex-util: registry.npmmirror.com/jest-regex-util/24.9.0
       jest-util: registry.npmmirror.com/jest-util/24.9.0
@@ -6005,16 +6080,6 @@ packages:
       '@types/yargs-parser': registry.npmmirror.com/@types/yargs-parser/20.2.1
     dev: true
 
-  registry.npmmirror.com/@types/yauzl/2.9.2:
-    resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/yauzl/-/yauzl-2.9.2.tgz}
-    name: '@types/yauzl'
-    version: 2.9.2
-    requiresBuild: true
-    dependencies:
-      '@types/node': registry.npmmirror.com/@types/node/17.0.18
-    dev: true
-    optional: true
-
   registry.npmmirror.com/@typescript-eslint/eslint-plugin/5.15.0_39008ab451aed7e12174fadc21405fee:
     resolution: {integrity: sha512-u6Db5JfF0Esn3tiAKELvoU5TpXVSkOpZ78cEGn/wXtT2RVqs2vkt4ge6N8cRCyw7YVKhmmLDbwI2pg92mlv7cA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.15.0.tgz}
     id: registry.npmmirror.com/@typescript-eslint/eslint-plugin/5.15.0
@@ -8133,16 +8198,6 @@ packages:
     version: 2.2.0
     engines: {node: '>=8'}
 
-  registry.npmmirror.com/bindings/1.5.0:
-    resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/bindings/-/bindings-1.5.0.tgz}
-    name: bindings
-    version: 1.5.0
-    requiresBuild: true
-    dependencies:
-      file-uri-to-path: registry.nlark.com/file-uri-to-path/1.0.0
-    dev: true
-    optional: true
-
   registry.npmmirror.com/bl/4.1.0:
     resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz}
     name: bl
@@ -8645,7 +8700,7 @@ packages:
       normalize-path: registry.npmmirror.com/normalize-path/3.0.0
       readdirp: registry.npmmirror.com/readdirp/3.5.0
     optionalDependencies:
-      fsevents: registry.npmmirror.com/fsevents/2.3.2
+      fsevents: 2.3.2
 
   registry.npmmirror.com/chokidar/3.5.3:
     resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz}
@@ -8661,7 +8716,7 @@ packages:
       normalize-path: registry.npmmirror.com/normalize-path/3.0.0
       readdirp: registry.npmmirror.com/readdirp/3.6.0
     optionalDependencies:
-      fsevents: registry.npmmirror.com/fsevents/2.3.2
+      fsevents: 2.3.2
     dev: true
 
   registry.npmmirror.com/chownr/1.1.4:
@@ -9516,12 +9571,6 @@ packages:
       d3-color: registry.npmmirror.com/d3-color/1.4.1
     dev: false
 
-  registry.npmmirror.com/d3-polygon/1.0.6:
-    resolution: {integrity: sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/d3-polygon/-/d3-polygon-1.0.6.tgz}
-    name: d3-polygon
-    version: 1.0.6
-    dev: false
-
   registry.npmmirror.com/d3-quadtree/2.0.0:
     resolution: {integrity: sha512-b0Ed2t1UUalJpc3qXzKi+cPGxeXRr4KU9YSlocN74aTzp6R/Ud43t79yLLqxHRWZfsvWXmbDWPpoENK1K539xw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/d3-quadtree/-/d3-quadtree-2.0.0.tgz}
     name: d3-quadtree
@@ -10395,7 +10444,7 @@ packages:
       esutils: registry.npmmirror.com/esutils/2.0.3
       optionator: registry.npmmirror.com/optionator/0.8.3
     optionalDependencies:
-      source-map: registry.npmmirror.com/source-map/0.6.1
+      source-map: 0.6.1
     dev: true
 
   registry.npmmirror.com/escodegen/2.0.0:
@@ -10410,7 +10459,7 @@ packages:
       esutils: registry.npmmirror.com/esutils/2.0.3
       optionator: registry.npmmirror.com/optionator/0.8.3
     optionalDependencies:
-      source-map: registry.npmmirror.com/source-map/0.6.1
+      source-map: 0.6.1
     dev: true
 
   registry.npmmirror.com/eslint-ast-utils/1.1.0:
@@ -11128,7 +11177,7 @@ packages:
       get-stream: registry.npmmirror.com/get-stream/5.2.0
       yauzl: registry.npmmirror.com/yauzl/2.10.0
     optionalDependencies:
-      '@types/yauzl': registry.npmmirror.com/@types/yauzl/2.9.2
+      '@types/yauzl': 2.9.2
     transitivePeerDependencies:
       - supports-color
     dev: true
@@ -11394,19 +11443,6 @@ packages:
     version: 1.0.3
     deprecated: flatten is deprecated in favor of utility frameworks such as lodash.
 
-  registry.npmmirror.com/flubber/0.4.2:
-    resolution: {integrity: sha512-79RkJe3rA4nvRCVc2uXjj7U/BAUq84TS3KHn6c0Hr9K64vhj83ZNLUziNx4pJoBumSPhOl5VjH+Z0uhi+eE8Uw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/flubber/-/flubber-0.4.2.tgz}
-    name: flubber
-    version: 0.4.2
-    dependencies:
-      d3-array: registry.npmmirror.com/d3-array/1.2.4
-      d3-polygon: registry.npmmirror.com/d3-polygon/1.0.6
-      earcut: registry.npmmirror.com/earcut/2.2.3
-      svg-path-properties: registry.npmmirror.com/svg-path-properties/0.2.2
-      svgpath: registry.npmmirror.com/svgpath/2.5.0
-      topojson-client: registry.npmmirror.com/topojson-client/3.1.0
-    dev: false
-
   registry.npmmirror.com/fmin/0.0.2:
     resolution: {integrity: sha512-sSi6DzInhl9d8yqssDfGZejChO8d2bAGIpysPsvYsxFe898z89XhCZg6CPNV3nhUhFefeC/AXZK2bAJxlBjN6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fmin/-/fmin-0.0.2.tgz}
     name: fmin
@@ -11507,29 +11543,6 @@ packages:
     name: fs.realpath
     version: 1.0.0
 
-  registry.npmmirror.com/fsevents/1.2.13:
-    resolution: {integrity: sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-1.2.13.tgz}
-    name: fsevents
-    version: 1.2.13
-    engines: {node: '>= 4.0'}
-    os: [darwin]
-    deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
-    requiresBuild: true
-    dependencies:
-      bindings: registry.npmmirror.com/bindings/1.5.0
-      nan: registry.npmmirror.com/nan/2.15.0
-    dev: true
-    optional: true
-
-  registry.npmmirror.com/fsevents/2.3.2:
-    resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz}
-    name: fsevents
-    version: 2.3.2
-    engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
-    os: [darwin]
-    requiresBuild: true
-    optional: true
-
   registry.npmmirror.com/function-bind/1.1.1:
     resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz}
     name: function-bind
@@ -13101,7 +13114,7 @@ packages:
     dependencies:
       debug: registry.npmmirror.com/debug/4.3.3
       istanbul-lib-coverage: registry.npmmirror.com/istanbul-lib-coverage/3.2.0
-      source-map: registry.npmmirror.com/source-map/0.6.1
+      source-map: 0.6.1
     transitivePeerDependencies:
       - supports-color
     dev: true
@@ -13295,7 +13308,7 @@ packages:
       '@jest/types': registry.npmmirror.com/@jest/types/24.9.0
       anymatch: registry.npmmirror.com/anymatch/2.0.0
       fb-watchman: registry.npmmirror.com/fb-watchman/2.0.1
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
       invariant: registry.npmmirror.com/invariant/2.2.4
       jest-serializer: registry.npmmirror.com/jest-serializer/24.9.0
       jest-util: registry.npmmirror.com/jest-util/24.9.0
@@ -13304,7 +13317,7 @@ packages:
       sane: registry.npmmirror.com/sane/4.1.0
       walker: registry.npmmirror.com/walker/1.0.8
     optionalDependencies:
-      fsevents: registry.npmmirror.com/fsevents/1.2.13
+      fsevents: 1.2.13
     dev: true
 
   registry.npmmirror.com/jest-haste-map/26.6.2:
@@ -13327,7 +13340,7 @@ packages:
       sane: registry.npmmirror.com/sane/4.1.0
       walker: registry.npmmirror.com/walker/1.0.8
     optionalDependencies:
-      fsevents: registry.npmmirror.com/fsevents/2.3.2
+      fsevents: 2.3.2
     dev: true
 
   registry.npmmirror.com/jest-jasmine2/26.6.3:
@@ -13582,7 +13595,7 @@ packages:
     engines: {node: '>= 10.14.2'}
     dependencies:
       '@types/node': registry.npmmirror.com/@types/node/17.0.18
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
     dev: true
 
   registry.npmmirror.com/jest-snapshot/26.6.2:
@@ -13958,7 +13971,7 @@ packages:
     name: jsonfile
     version: 4.0.0
     optionalDependencies:
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
     dev: true
 
   registry.npmmirror.com/jsprim/1.4.2:
@@ -14183,7 +14196,7 @@ packages:
     version: 4.0.0
     engines: {node: '>=4'}
     dependencies:
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
       parse-json: registry.npmmirror.com/parse-json/4.0.0
       pify: registry.npmmirror.com/pify/3.0.0
       strip-bom: registry.npmmirror.com/strip-bom/3.0.0
@@ -15342,14 +15355,6 @@ packages:
       thenify-all: registry.npmmirror.com/thenify-all/1.6.0
     dev: true
 
-  registry.npmmirror.com/nan/2.15.0:
-    resolution: {integrity: sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/nan/-/nan-2.15.0.tgz}
-    name: nan
-    version: 2.15.0
-    requiresBuild: true
-    dev: true
-    optional: true
-
   registry.npmmirror.com/nano-css/5.3.4_react-dom@17.0.2+react@17.0.2:
     resolution: {integrity: sha512-wfcviJB6NOxDIDfr7RFn/GlaN7I/Bhe4d39ZRCJ3xvZX60LVe2qZ+rDqM49nm4YT81gAjzS+ZklhKP/Gnfnubg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/nano-css/-/nano-css-5.3.4.tgz}
     id: registry.npmmirror.com/nano-css/5.3.4
@@ -15477,21 +15482,6 @@ packages:
     version: 0.4.0
     dev: true
 
-  registry.npmmirror.com/node-notifier/8.0.2:
-    resolution: {integrity: sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/node-notifier/-/node-notifier-8.0.2.tgz}
-    name: node-notifier
-    version: 8.0.2
-    requiresBuild: true
-    dependencies:
-      growly: registry.npmmirror.com/growly/1.3.0
-      is-wsl: registry.npmmirror.com/is-wsl/2.2.0
-      semver: registry.npmmirror.com/semver/7.3.5
-      shellwords: registry.npmmirror.com/shellwords/0.1.1
-      uuid: registry.npmmirror.com/uuid/8.3.2
-      which: registry.npmmirror.com/which/2.0.2
-    dev: true
-    optional: true
-
   registry.npmmirror.com/node-releases/2.0.2:
     resolution: {integrity: sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/node-releases/-/node-releases-2.0.2.tgz}
     name: node-releases
@@ -16151,6 +16141,7 @@ packages:
     resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz}
     name: performance-now
     version: 2.1.0
+    dev: true
 
   registry.npmmirror.com/picocolors/0.2.1:
     resolution: {integrity: sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/picocolors/-/picocolors-0.2.1.tgz}
@@ -17180,6 +17171,7 @@ packages:
     version: 3.4.1
     dependencies:
       performance-now: registry.npmmirror.com/performance-now/2.1.0
+    dev: true
 
   registry.npmmirror.com/randombytes/2.1.0:
     resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz}
@@ -17582,21 +17574,6 @@ packages:
       react: registry.npmmirror.com/react/17.0.2
       react-dom: registry.npmmirror.com/react-dom/17.0.2_react@17.0.2
 
-  registry.npmmirror.com/rc-queue-anim/2.0.0_react-dom@17.0.2+react@17.0.2:
-    resolution: {integrity: sha512-tojpP72NbaWkwzmR/7x4gFpTBCYR/8I3Jb+KwSdOWpRIDrlmsA4ARAqSElG92GJ7CXAIjxavIGulcqJhXfzHYQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/rc-queue-anim/-/rc-queue-anim-2.0.0.tgz}
-    id: registry.npmmirror.com/rc-queue-anim/2.0.0
-    name: rc-queue-anim
-    version: 2.0.0
-    peerDependencies:
-      react: '>=16.9.0'
-      react-dom: '>=16.9.0'
-    dependencies:
-      '@babel/runtime': registry.npmmirror.com/@babel/runtime/7.17.2
-      react: registry.npmmirror.com/react/17.0.2
-      react-dom: registry.npmmirror.com/react-dom/17.0.2_react@17.0.2
-      tween-one: registry.npmmirror.com/tween-one/1.0.58
-    dev: false
-
   registry.npmmirror.com/rc-rate/2.9.1_react-dom@17.0.2+react@17.0.2:
     resolution: {integrity: sha512-MmIU7FT8W4LYRRHJD1sgG366qKtSaKb67D0/vVvJYR0lrCuRrCiVQ5qhfT5ghVO4wuVIORGpZs7ZKaYu+KMUzA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/rc-rate/-/rc-rate-2.9.1.tgz}
     id: registry.npmmirror.com/rc-rate/2.9.1
@@ -19195,7 +19172,7 @@ packages:
     engines: {node: '>=10.0.0'}
     hasBin: true
     optionalDependencies:
-      fsevents: registry.npmmirror.com/fsevents/2.3.2
+      fsevents: 2.3.2
     dev: true
 
   registry.npmmirror.com/rsvp/4.8.5:
@@ -19692,7 +19669,7 @@ packages:
       define-property: registry.npmmirror.com/define-property/0.2.5
       extend-shallow: registry.npmmirror.com/extend-shallow/2.0.1
       map-cache: registry.npmmirror.com/map-cache/0.2.2
-      source-map: registry.npmmirror.com/source-map/0.5.7
+      source-map: 0.5.7
       source-map-resolve: registry.npmmirror.com/source-map-resolve/0.5.3
       use: registry.npmmirror.com/use/3.1.1
     dev: true
@@ -20267,12 +20244,6 @@ packages:
       inline-style-parser: registry.nlark.com/inline-style-parser/0.1.1
     dev: false
 
-  registry.npmmirror.com/style-utils/0.3.4:
-    resolution: {integrity: sha512-7hUxeI95H6J0REP/7Y4WTPj0YsRrKljWIz0Q3Tex1nzzba9xAgGOnm3dr5qwsvEbAHcgu0V/sXfZDdqZ/tDtfg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/style-utils/-/style-utils-0.3.4.tgz}
-    name: style-utils
-    version: 0.3.4
-    dev: false
-
   registry.npmmirror.com/stylelint-config-css-modules/2.3.0_stylelint@13.13.1:
     resolution: {integrity: sha512-nSxwaJMv9wBrTAi+O4qXubyi1AR9eB36tJpY0uaFhKgEc3fwWGUzUK1Edl8AQHAoU7wmUeKtsuYjblyRP/V7rw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/stylelint-config-css-modules/-/stylelint-config-css-modules-2.3.0.tgz}
     id: registry.npmmirror.com/stylelint-config-css-modules/2.3.0
@@ -20494,30 +20465,12 @@ packages:
     version: 1.0.0
     engines: {node: '>= 0.4'}
 
-  registry.npmmirror.com/svg-path-properties/0.2.2:
-    resolution: {integrity: sha512-GmrB+b6woz6CCdQe6w1GHs/1lt25l7SR5hmhF8jRdarpv/OgjLyuQygLu1makJapixeb1aQhP/Oa1iKi93o/aQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/svg-path-properties/-/svg-path-properties-0.2.2.tgz}
-    name: svg-path-properties
-    version: 0.2.2
-    dev: false
-
-  registry.npmmirror.com/svg-path-properties/1.0.11:
-    resolution: {integrity: sha512-Wo6SjzONZPL9UAgrnwcCkDGRYP9CbHJGkNcPFIgEVRjiOiJxSd/AtwnGk/4N4iOLGUoas57TMxY0xASDeb9YJg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/svg-path-properties/-/svg-path-properties-1.0.11.tgz}
-    name: svg-path-properties
-    version: 1.0.11
-    dev: false
-
   registry.npmmirror.com/svg-tags/1.0.0:
     resolution: {integrity: sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/svg-tags/-/svg-tags-1.0.0.tgz}
     name: svg-tags
     version: 1.0.0
     dev: true
 
-  registry.npmmirror.com/svgpath/2.5.0:
-    resolution: {integrity: sha512-o/vohwqjUO9nDAh4rcjE3KaW/v//At8UJu2LJMybXidf5QLQLVA4bxH0//4YCsr+1H4Gw1Wi/Jc62ynzSBYidw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/svgpath/-/svgpath-2.5.0.tgz}
-    name: svgpath
-    version: 2.5.0
-    dev: false
-
   registry.npmmirror.com/swr/0.5.7_react@17.0.2:
     resolution: {integrity: sha512-Jh1Efgu8nWZV9rU4VLUMzBzcwaZgi4znqbVXvAtUy/0JzSiN6bNjLaJK8vhY/Rtp7a83dosz5YuehfBNwC/ZoQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/swr/-/swr-0.5.7.tgz}
     id: registry.npmmirror.com/swr/0.5.7
@@ -21105,19 +21058,7 @@ packages:
     resolution: {integrity: sha512-PZBtLYcCLtEcjL14Fzb1gSxPBeL7nWvGhO5ZFPGqziCcr8uvHp0NDmdjBchp6KHL+tExcg0m3NISmKxhU394dA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/tween-functions/-/tween-functions-1.2.0.tgz}
     name: tween-functions
     version: 1.2.0
-
-  registry.npmmirror.com/tween-one/1.0.58:
-    resolution: {integrity: sha512-CE50CO5QQHnvjUqBRrQTfwNCDfPgO/0wOOUWWnxR6JJ6/8gdogYvdENouZu/P/szLW+TNOgbS5L26PjuKf9wzQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/tween-one/-/tween-one-1.0.58.tgz}
-    name: tween-one
-    version: 1.0.58
-    dependencies:
-      '@babel/runtime': registry.npmmirror.com/@babel/runtime/7.17.2
-      flubber: registry.npmmirror.com/flubber/0.4.2
-      raf: registry.npmmirror.com/raf/3.4.1
-      style-utils: registry.npmmirror.com/style-utils/0.3.4
-      svg-path-properties: registry.npmmirror.com/svg-path-properties/1.0.11
-      tween-functions: registry.npmmirror.com/tween-functions/1.2.0
-    dev: false
+    dev: true
 
   registry.npmmirror.com/tweetnacl/0.14.5:
     resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/tweetnacl/-/tweetnacl-0.14.5.tgz}
@@ -21232,16 +21173,8 @@ packages:
       source-map: registry.npmmirror.com/source-map/0.5.7
       yargs: registry.npmmirror.com/yargs/3.10.0
     optionalDependencies:
-      uglify-to-browserify: registry.npmmirror.com/uglify-to-browserify/1.0.2
-    dev: false
-
-  registry.npmmirror.com/uglify-to-browserify/1.0.2:
-    resolution: {integrity: sha512-vb2s1lYx2xBtUgy+ta+b2J/GLVUR+wmpINwHePmPRhOsIVCG2wDzKJ0n14GslH1BifsqVzSOwQhRaCAsZ/nI4Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz}
-    name: uglify-to-browserify
-    version: 1.0.2
-    requiresBuild: true
+      uglify-to-browserify: 1.0.2
     dev: false
-    optional: true
 
   registry.npmmirror.com/umi-plugin-antd-icon-config/2.0.4_a8fdaf7d7d8ae9699a1d59394c79305e:
     resolution: {integrity: sha512-3OqH5KFiuVzhr8UwLO+KZHzHySAqgDBLQUTh8YrehHSs3wgNDYKt0Tk3DIx8SGA6+46bspaK4iIOpTIS7f7RXw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/umi-plugin-antd-icon-config/-/umi-plugin-antd-icon-config-2.0.4.tgz}
@@ -21721,7 +21654,7 @@ packages:
     dependencies:
       '@types/istanbul-lib-coverage': registry.npmmirror.com/@types/istanbul-lib-coverage/2.0.4
       convert-source-map: registry.npmmirror.com/convert-source-map/1.8.0
-      source-map: registry.npmmirror.com/source-map/0.7.3
+      source-map: 0.7.3
     dev: true
 
   registry.npmmirror.com/validate-npm-package-license/3.0.4:
@@ -22232,7 +22165,7 @@ packages:
     name: write-file-atomic
     version: 2.4.1
     dependencies:
-      graceful-fs: registry.npmmirror.com/graceful-fs/4.2.9
+      graceful-fs: 4.2.9
       imurmurhash: registry.npmmirror.com/imurmurhash/0.1.4
       signal-exit: registry.npmmirror.com/signal-exit/3.0.7
     dev: true

+ 4 - 7
src/pages/Customer/Test/index.tsx

@@ -1,7 +1,7 @@
 import { useWebSocket } from 'ahooks'
 import { Button } from 'antd'
 import { useRef, useEffect, useMemo } from 'react'
-import QueueAnim from 'rc-queue-anim'
+// import QueueAnim from 'rc-queue-anim'
 
 enum ReadyState {
   '0' = '连接中',
@@ -25,10 +25,7 @@ const Test = () => {
   }, [latestMessage])
 
   useEffect(() => {
-    if (
-      messageBox.current.scrollHeight - messageBox.current.clientHeight >
-      messageBox.current.scrollTop
-    ) {
+    if (messageBox.current.scrollHeight - messageBox.current.clientHeight > messageBox.current.scrollTop) {
       messageBox.current?.scroll({ top: messageBox.current?.scrollHeight })
     }
   }, [messageHistory.current])
@@ -40,7 +37,7 @@ const Test = () => {
         <Button onClick={() => disconnect()}>断开</Button>
         <div>当前连接状态:{ReadyState[readyState]}</div>
       </div>
-      <QueueAnim
+      {/* <QueueAnim
         className="ml-4 border w-400px h-400px border-gray-400 overflow-y-auto overflow-x-hidden"
         ref={messageBox}
       >
@@ -50,7 +47,7 @@ const Test = () => {
             <span>{item.status}</span>
           </div>
         ))}
-      </QueueAnim>
+      </QueueAnim> */}
     </div>
   )
 }