diff --git a/package.json b/package.json index 4467afa..a99d504 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@ant-design/icons": "6.3.2", - "@ant-design/pro-components": "^2.8.10", + "@ant-design/pro-components": "3.1.14-6", "@cqsjjb/jjb-common-decorator": "latest", "@cqsjjb/jjb-common-lib": "latest", "@cqsjjb/jjb-dva-runtime": "latest", @@ -40,12 +40,12 @@ "react-transition-group": "^4.4.5", "sass": "^1.97.0", "sass-loader": "^16.0.6", - "zy-react-library": "^2.1.0" + "zy-react-library": "^2.1.4" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@babel/plugin-proposal-decorators": "^7.19.3", - "@cqsjjb/scripts": "latest", + "@cqsjjb/scripts": "2.0.0", "@eslint-react/eslint-plugin": "^2.2.2", "cross-env": "^7.0.3", "eslint": "^9.37.0", diff --git a/src/pages/Container/Map/components/Content/IndexInfo/Bottom/VideoPatrolPanel/index.js b/src/pages/Container/Map/components/Content/IndexInfo/Bottom/VideoPatrolPanel/index.js index 8cafee3..1a75de9 100644 --- a/src/pages/Container/Map/components/Content/IndexInfo/Bottom/VideoPatrolPanel/index.js +++ b/src/pages/Container/Map/components/Content/IndexInfo/Bottom/VideoPatrolPanel/index.js @@ -1,7 +1,7 @@ import { Connect } from "@cqsjjb/jjb-dva-runtime"; import { message, Spin } from "antd"; import { useEffect, useState } from "react"; -import AliPlayer from "zy-react-library/components/Video/AliPlayer"; +import Video from "zy-react-library/components/Video"; import { randoms } from "zy-react-library/utils"; import background from "~/assets/images/public/bigScreen/bg14.png"; import { NS_BI_STATISTICS } from "~/enumerate/namespace"; @@ -18,7 +18,7 @@ function VideoPatrolPanel(props) { indexCode: cameraNumber, }); if (success && data) - setPlayUrl(data?.url || ""); + setPlayUrl(data || ""); }; const selectCorp = (item) => { setActive(item.corpinfoName); @@ -69,7 +69,7 @@ function VideoPatrolPanel(props) { > {playUrl ? ( - +