Commit 870910b1 authored by Chunchi Che's avatar Chunchi Che

fix updateData

parent 00dab417
...@@ -10,7 +10,7 @@ export default (updateData: MsgUpdateData) => { ...@@ -10,7 +10,7 @@ export default (updateData: MsgUpdateData) => {
actions.forEach((action) => { actions.forEach((action) => {
const sequence = action.location?.sequence; const sequence = action.location?.sequence;
if (typeof sequence !== "undefined") { if (typeof sequence !== "undefined") {
const target = field.at(sequence); const target = field.filter((card) => card.sequence == sequence).at(0);
if (target) { if (target) {
const meta = target.meta; const meta = target.meta;
// 目前只更新以下字段 // 目前只更新以下字段
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment