Commit e01718d9 by shaojiawen

update:卡号为空时不请求接口

parent b931ddc9
......@@ -183,7 +183,7 @@ export default {
count: function (n, o) {
if (n === 3) {
this.fullscreenLoading = false;
if (this.memberInfo.erpIntegralFlag) {
if (this.memberInfo.erpIntegralFlag && (this.memberInfo.cardNum || '').length > 0) { // cardNum为空不请求
doFetchGet(url.getErpIntegral, { cardNo: this.memberInfo.cardNum || ''})
.then(res => {
if (res.data.errorCode === 0) {
......
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