Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4c2af0c4
authored
Oct 22, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 在确认处理中添加加载状态检查
防止在加载状态下重复提交表单
1 parent
c882a894
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/views/storeCredit/add.vue
src/views/storeCredit/add.vue
View file @
4c2af0c
...
@@ -426,6 +426,9 @@ export default {
...
@@ -426,6 +426,9 @@ export default {
handleConfirm() {
handleConfirm() {
const { disabled, id
}
= this.pageObject
const { disabled, id
}
= this.pageObject
if (disabled) return this.$router.go(-1)
if (disabled) return this.$router.go(-1)
if(this.loading) {
return true
}
this.$refs.fromRef.$refs.formRef.validate(async valid => {
this.$refs.fromRef.$refs.formRef.validate(async valid => {
if (valid) {
if (valid) {
try {
try {
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment