Explorar el Código

fix: tzk-1314、1320、1325 bugfix

lanjianrong hace 3 años
padre
commit
b6a087786b

+ 6 - 6
package.json

@@ -43,8 +43,8 @@
     "@formily/reactive": "^2.1.10",
     "@formily/reactive-react": "^2.1.10",
     "@formily/shared": "^2.1.10",
-    "@umijs/max": "4.0.11",
-    "@umijs/plugins": "4.0.11",
+    "@umijs/max": "4.0.23",
+    "@umijs/plugins": "4.0.23",
     "ahooks": "^3.0.0",
     "antd": "4.20.7",
     "array-move": "^4.0.0",
@@ -55,9 +55,9 @@
     "rc-menu": "^9.0.13",
     "rc-tween-one": "^3.0.6",
     "rc-util": "^5.14.0",
-    "react": "18.1.0",
+    "react": "18.2.0",
     "react-copy-to-clipboard": "^5.1.0",
-    "react-dom": "18.1.0",
+    "react-dom": "18.2.0",
     "react-flow-renderer": "^9.6.11",
     "react-sortable-hoc": "^2.0.0"
   },
@@ -65,7 +65,7 @@
     "@types/lodash": "^4.14.144",
     "@types/react": "^18.0.0",
     "@types/react-dom": "^18.0.0",
-    "@unocss/cli": "^0.44.3",
+    "@unocss/cli": "^0.45.29",
     "babel-plugin-import": "^1.13.5",
     "compression-webpack-plugin": "^10.0.0",
     "cross-env": "^7.0.0",
@@ -75,7 +75,7 @@
     "prettier": "^2.6.1",
     "stylelint": "^14.9.0",
     "typescript": "^4.7.3",
-    "unocss": "^0.44.3"
+    "unocss": "^0.45.29"
   },
   "engines": {
     "node": ">=14.0.0"

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 2012 - 909
pnpm-lock.yaml


+ 2 - 1
src/pages/Project/Approval/index.tsx

@@ -51,7 +51,8 @@ const Approval: React.FC = props => {
     onSuccess: () => {
       message.success('添加成功')
       tRef.current?.reload()
-    }
+    },
+    onError() {}
   })
 
   const { run: tryUpdateInstitutionRole } = useRequest(updateInstitutionRole, {

+ 1 - 1
src/pages/Project/Verification/Detail/Flow/components/Drawer/ParticipantCard.tsx

@@ -89,7 +89,7 @@ const ParticipantCard: React.FC<ParticipantCardProps> = ({
     // 指定用户模式下,加上下一个环节的配置信息
     if (
       approvalWay === ApprovalWay.ACCOUNT &&
-      [ParticipantMode.ACCOUNT].includes(defaultData.participantMode)
+      [ParticipantMode.ACCOUNT, ParticipantMode.ROLE].includes(defaultData.participantMode)
     ) {
       // 当前的node元素
       // 最后一个edge及诶单