diff --git a/src/components/MyPrize.vue b/src/components/MyPrize.vue index d11deac..c593764 100644 --- a/src/components/MyPrize.vue +++ b/src/components/MyPrize.vue @@ -142,7 +142,7 @@ const getMoney = (val) => { // 红包类型未参与红包: 需先绑定牛卡号 if (val.type == 1) { console.log("牛卡号:",store.state.userAccount.nkh); - if (store.state.userAccount.nkh == '') { + if (store.state.userAccount.nkh == '' || store.state.userAccount.nkh == undefined) { // Toast("牛卡号为空,先绑定牛卡号"); Dialog.confirm({ title: "温馨提示",