From 32ffcae5e1f3360f176ad613214ecbed6081bff8 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 9 Oct 2023 11:47:58 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=8F=90=E5=8F=96=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=8F=98=E5=8C=96=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/message/index.jsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/plan/message/index.jsx b/src/pages/plan/message/index.jsx index 45d5e074..3599b9d4 100644 --- a/src/pages/plan/message/index.jsx +++ b/src/pages/plan/message/index.jsx @@ -114,7 +114,16 @@ export default function Message() { /* 提交 */ function submit() { - console.log(state) + const submitData = [] + state.tableData.map((item) => { + state.backupTableData.map((items) => { + if (item.customizePrompt !== items.customizePrompt) { + submitData.push(item) + } + }) + }) + + console.log(submitData) } return (