This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
[兑换][修改]:[消费卡兑换修改正则验证]
tags/C.10.02
meo
5 years ago
parent
aa3be88fef
commit
d14de7b734
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
pages/exchange/exchange.js
+ 1
- 1
pages/exchange/exchange.js
View File
@@ -16,7 +16,7 @@ Page({
let that = this;
let code = e.detail.value.code;
let formId = e.detail.formId;
if (!code){
if (!code
|| !code.replace(/\s*/g, "")
){
wx.showToast({
title: '请输入兑换码',
icon:"none",
Write
Preview
Loading…
Cancel
Save