Skip to content

Commit

Permalink
把忘记传的tag补上
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichaoxi2006 committed Oct 23, 2024
1 parent 3342e3f commit f5d6b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noname/library/element/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ export class Card extends HTMLDivElement {
}
_status.cardtag[tag].add(card.cardid);
card.$init([card.suit, card.number, card.name, card.nature]);
}, _status, card);
}, _status, card, tag);
}
/**
* 给此牌移除特定的cardtag(如移除应变条件)
Expand All @@ -708,7 +708,7 @@ export class Card extends HTMLDivElement {
}
_status.cardtag[tag].remove(card.cardid);
card.$init([card.suit, card.number, card.name, card.nature]);
}, _status, card);
}, _status, card, tag);
}
updateTransform(bool, delay) {
if (delay) {
Expand Down

0 comments on commit f5d6b9a

Please sign in to comment.