forked from natuka/web.puabadge.com
bug修改
This commit is contained in:
1 parent
72ec02d5bd
commit
0e231374e9
4 files changed
+34
-25
No files matched your search
Vendored
-1
@@ -22,7 +22,6 @@ declare module '@vue/runtime-core' {
|
||||
Tensorflow: typeof import('./src/components/arFrame/tensorflow.vue')['default']
|
||||
VanActionSheet: typeof import('vant/es')['ActionSheet']
|
||||
VanAddressEdit: typeof import('vant/es')['AddressEdit']
|
||||
VanArea: typeof import('vant/es')['Area']
|
||||
VanDivider: typeof import('vant/es')['Divider']
|
||||
VanField: typeof import('vant/es')['Field']
|
||||
VanIcon: typeof import('vant/es')['Icon']
|
||||
|
||||
@@ -110,10 +110,10 @@
|
||||
</div>
|
||||
<div class="tag-change-box" v-if="orderStat.use_type == 2">
|
||||
<div class="tag-change-item">
|
||||
<div class="tag-change-item-title" :class="{ tagActive: prodId == 7 }" @click="prodId = 7">
|
||||
<div class="tag-change-item-title" :class="{ tagActive: prodId == 7 }" @click="prodId = 7;picture = null">
|
||||
人物主体
|
||||
</div>
|
||||
<div class="tag-change-item-title" :class="{ tagActive: prodId == 8 }" @click="prodId = 8">
|
||||
<div class="tag-change-item-title" :class="{ tagActive: prodId == 8 }" @click="prodId = 8;picture = null">
|
||||
宠物主体
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+31
-21
@@ -190,28 +190,38 @@ function sureReload() {
|
||||
return
|
||||
}
|
||||
isPreview.value = false
|
||||
group.value = newGroup.value
|
||||
const params = {
|
||||
pid: pid.value,
|
||||
group: group.value,
|
||||
prod_id: prodId.value
|
||||
}
|
||||
badgeApi.putModeling(params).then((res: any) => {
|
||||
console.log('putModeling', res)
|
||||
imageUrl.value = '';
|
||||
imageList.value = []
|
||||
imgKey.value = '';
|
||||
createLog()
|
||||
}).catch((err) => {
|
||||
console.log('putModeling', err)
|
||||
showReload.value = false
|
||||
showToast({
|
||||
message: err.message,
|
||||
duration: 2000,
|
||||
})
|
||||
}).finally(() => {
|
||||
showReload.value = false
|
||||
showConfirmDialog({
|
||||
title: '再次生成',
|
||||
message:
|
||||
'请确认是否重新生成。',
|
||||
})
|
||||
.then(() => {
|
||||
group.value = newGroup.value
|
||||
const params = {
|
||||
pid: pid.value,
|
||||
group: group.value,
|
||||
prod_id: prodId.value
|
||||
}
|
||||
badgeApi.putModeling(params).then((res: any) => {
|
||||
console.log('putModeling', res)
|
||||
imageUrl.value = '';
|
||||
imageList.value = []
|
||||
imgKey.value = '';
|
||||
createLog()
|
||||
}).catch((err) => {
|
||||
console.log('putModeling', err)
|
||||
showReload.value = false
|
||||
showToast({
|
||||
message: err.message,
|
||||
duration: 2000,
|
||||
})
|
||||
}).finally(() => {
|
||||
showReload.value = false
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
showReload.value = false
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
"noUnusedLocals": true,
|
||||
"noImplicitAny": false,
|
||||
"skipLibCheck": true,
|
||||
"verbatimModuleSyntax": true
|
||||
"importsNotUsedAsValues": "preserve"
|
||||
},
|
||||
"include": [
|
||||
"src/App.vue",
|
||||
|
||||
Reference in new issue
Block a user