feat: 提取提示变化的数据

This commit is contained in:
wangsongsole 2023-10-09 11:47:58 +08:00
parent 8a841e0621
commit 32ffcae5e1
1 changed files with 10 additions and 1 deletions

View File

@ -114,7 +114,16 @@ export default function Message() {
/* 提交 */ /* 提交 */
function submit() { 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 ( return (