diff --git a/coupon/details.html b/coupon/details.html
index 56d5990..f44d8bc 100644
--- a/coupon/details.html
+++ b/coupon/details.html
@@ -455,7 +455,6 @@
switch (Number(this.productType)) {
case 0:
this.placeholder = "请输入昵称";
- regFlag = nameReg;
break;
case 1:
regFlag = phoneReg;
diff --git a/exchange.html b/exchange.html
index ca391e3..9fc726a 100644
--- a/exchange.html
+++ b/exchange.html
@@ -257,7 +257,6 @@
let regflag = true;
if (this.productType == 0) {
this.placeholder = "请输入昵称";
- regflag = namereg;
} else if (this.productType == 1) {
regflag = phonereg;
} else if (this.productType == 2) {