Skip to content

Commit

Permalink
Merge pull request #770 from hktrpg/fix-char-card
Browse files Browse the repository at this point in the history
fix card after vue prod
  • Loading branch information
zeteticl authored Nov 22, 2024
2 parents af8906e + 86f519f commit 9bb5182
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions views/characterCard.html
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,18 @@ <h5 class="modal-title" id="readmeModalLongTitle">使用說明</h5>
socket.emit('updateCard', {
userName: userName,
userPassword: userPassword,
card: card
})

card: {
_id: card._id,
id: card.id,
name: card.name,
state: card.state,
roll: card.roll,
notes: card.notes,
gpList: card.gpList,
public: card.public,
deleteMode: card.deleteMode
}
});
}
socket.on("updateCard", function (result) {
popup(result);
Expand Down

0 comments on commit 9bb5182

Please sign in to comment.