|
@@ -94,7 +94,9 @@
|
|
|
let self = this;
|
|
|
for(let i=0;i<self.watchList.length;i++){
|
|
|
self.watchList[i].cardType = 0;
|
|
|
- self.watchList[i].cardNum = self.watchList[i].cardNum.replace(/^\s*|\s*$/g,"");
|
|
|
+ if (self.watchList[i].cardNum){
|
|
|
+ self.watchList[i].cardNum = self.watchList[i].cardNum.replace(/^\s*|\s*$/g,"");
|
|
|
+ }
|
|
|
}
|
|
|
let num = 0;
|
|
|
for(let i=0;i<self.watchList.length;i++){
|