diff --git a/pages/login/loginCode.vue b/pages/login/loginCode.vue index 27753716fd64a8b025aecfdda78b6fd0c19c67b5..2ac88178215352d045f8c48c06fb4645be5d22bf 100644 --- a/pages/login/loginCode.vue +++ b/pages/login/loginCode.vue @@ -120,7 +120,7 @@ methods: { chooseNum:function(index){ - if (index == 11 && this.codeList.length > 0) { + if (index == 11 && this.codeList.length >= 0) { this.codeList.pop(); return ; }