fix undefined length
This commit is contained in:
parent
9e2b6263f2
commit
536ceead77
@ -87,7 +87,7 @@ export default {
|
|||||||
if (this.realCancelText == '') {
|
if (this.realCancelText == '') {
|
||||||
this.realCancelText = this.$t('cancel')
|
this.realCancelText = this.$t('cancel')
|
||||||
}
|
}
|
||||||
if (this.cards.length == 1) {
|
if (this.cards && this.cards.length == 1) {
|
||||||
this.showDesc(this.cards[0])
|
this.showDesc(this.cards[0])
|
||||||
}
|
}
|
||||||
if (this.playAudio) {
|
if (this.playAudio) {
|
||||||
|
Loading…
Reference in New Issue
Block a user