From d15c994b377ce8f63807d772a4dd69d0747af539 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 30 Aug 2023 16:44:53 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20=E7=8E=B0?= =?UTF-8?q?=E5=9C=A8=E8=AE=A1=E5=88=92=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/list/list.js | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/src/pages/plan/list/list.js b/src/pages/plan/list/list.js index 09523db6..8220bc37 100644 --- a/src/pages/plan/list/list.js +++ b/src/pages/plan/list/list.js @@ -761,18 +761,31 @@ export default class acclist extends React.Component { return 更多 } case 4: - return ( - this.menuItemClick(4, rowData)} - > - 删除 - - ) + if (rowData.order_num === 0) { + return ( + this.menuItemClick(4, rowData)} + > + 删除 + + ) + } else { + return ( + + 删除 + + ) + } } }