From e5e0e138a4a4b38bbde549bb4dcd4d445e0fdc2a Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Fri, 24 Feb 2023 08:37:31 +0800 Subject: [PATCH] =?UTF-8?q?fix=208542=20=E6=9F=A5=E7=9C=8B=E5=B7=A1?= =?UTF-8?q?=E6=A3=80=E8=AE=A1=E5=88=92=E5=B7=A1=E6=A3=80=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/patrolManage/components/planModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/sections/patrolManage/components/planModal.js b/web/client/src/sections/patrolManage/components/planModal.js index 7d42c1c..8eaa551 100644 --- a/web/client/src/sections/patrolManage/components/planModal.js +++ b/web/client/src/sections/patrolManage/components/planModal.js @@ -21,7 +21,7 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis dispatch(getUserList()) dispatch(getProjectList()) } - if (type === 'edit') { + if (type === 'edit' || type === 'view') { dispatch(positionList({ projectId: curRecord?.project?.id })).then(res => { if (res.success) { setPoints(res.payload.data?.rows)