|
@@ -796,7 +796,7 @@
|
|
|
<div class="input-group input-group-sm mb-3">
|
|
|
<input class="form-control" type="text" readonly="readonly" name="code" placeholder="输入短信中的6位验证码" />
|
|
|
<div class="input-group-append">
|
|
|
- <button class="btn btn-outline-secondary" type="button" id="get-code">获取验证码</button>
|
|
|
+ <button class="btn btn-outline-secondary get-code" type="button">获取验证码</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -849,7 +849,7 @@
|
|
|
<div class="input-group input-group-sm mb-3">
|
|
|
<input class="form-control" type="text" readonly="readonly" name="code" placeholder="输入短信中的6位验证码" />
|
|
|
<div class="input-group-append">
|
|
|
- <button class="btn btn-outline-secondary" type="button" id="get-code">获取验证码</button>
|
|
|
+ <button class="btn btn-outline-secondary get-code" type="button">获取验证码</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1191,7 +1191,7 @@
|
|
|
// 重新审批获取手机验证码
|
|
|
// 获取验证码
|
|
|
let isPosting = false;
|
|
|
- $("#get-code").click(function() {
|
|
|
+ $(".get-code").on('click', function() {
|
|
|
if (isPosting) {
|
|
|
return false;
|
|
|
}
|