forked from natuka/web.puabadge.com
按钮重复点击
This commit is contained in:
1 parent
181f2ceafa
commit
12b4ffe4f3
1 file changed
+2
@@ -345,6 +345,7 @@ const confirm = () => {
|
||||
}
|
||||
badgeApi.creatOrder(parms).then((res: any) => {
|
||||
console.log('creatOrder', res)
|
||||
loading.value = false
|
||||
showSuccessToast({
|
||||
message: '下单成功',
|
||||
duration: 2000,
|
||||
@@ -354,6 +355,7 @@ const confirm = () => {
|
||||
})
|
||||
}).catch((err) => {
|
||||
console.log('creatOrder', err)
|
||||
loading.value = false
|
||||
showToast({
|
||||
message: err.message,
|
||||
duration: 2000,
|
||||
|
||||
Reference in new issue
Block a user