fix: 前端按钮防重复点击,避免重复请求(dnfs提交/删除、view刷新、验证码刷新)
This commit is contained in:
1 parent
50f209e84a
commit
bfd2d334fe
4 files changed
+30
-5
No files matched your search
@@ -155,6 +155,13 @@ button[type="button"], input[type="button"] { background: var(--accent-soft); co
|
||||
flex-wrap: wrap;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
/* ===== 防重复点击:请求进行中按钮禁用态反馈 ===== */
|
||||
button:disabled,
|
||||
input[type="submit"]:disabled,
|
||||
input[type="button"]:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.form-check {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user