forked from natuka/web.puabadge.com
bug修改
This commit is contained in:
1 parent
8bb73181e0
commit
fa4a71f860
3 files changed
+9
-7
No files matched your search
@@ -97,6 +97,8 @@ const getPid = async () => {
|
||||
showLoadingToast({
|
||||
message: '上传中...',
|
||||
forbidClick: true,
|
||||
loadingType: 'spinner',
|
||||
duration: 0,
|
||||
})
|
||||
// kindId.value = checkId.value == 0 ? getRandomNumber() : checkId.value
|
||||
const params = {
|
||||
@@ -176,7 +178,7 @@ const sendToOss = async (src: string, url: string) => {
|
||||
if (--pendingUploads.value === 0 && !isAnotherAPICalled.value) {
|
||||
const params = {
|
||||
pid: pid.value,
|
||||
kind_id: kindId.value,
|
||||
kind_id: checkId.value,
|
||||
extend_value: isBgShow.value ? -1 : 0,
|
||||
group: 1,
|
||||
}
|
||||
@@ -204,7 +206,7 @@ const createLog = () => {
|
||||
const params = {
|
||||
pid: pid.value,
|
||||
group: 1,
|
||||
kind_id: kindId.value,
|
||||
kind_id: checkId.value,
|
||||
}
|
||||
badgeApi.createLog(params).then((res: any) => {
|
||||
console.log('createLog', res)
|
||||
|
||||
Reference in new issue
Block a user