Browse Source

bug修改

lzm_web
Linzm 6 months ago
parent
commit
0e231374e9
  1. 1
      components.d.ts
  2. 4
      src/views/badge/index.vue
  3. 10
      src/views/badge/preview.vue
  4. 2
      tsconfig.json

1
components.d.ts vendored

@ -22,7 +22,6 @@ declare module '@vue/runtime-core' { @@ -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']

4
src/views/badge/index.vue

@ -110,10 +110,10 @@ @@ -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>

10
src/views/badge/preview.vue

@ -190,6 +190,12 @@ function sureReload() { @@ -190,6 +190,12 @@ function sureReload() {
return
}
isPreview.value = false
showConfirmDialog({
title: '再次生成',
message:
'请确认是否重新生成。',
})
.then(() => {
group.value = newGroup.value
const params = {
pid: pid.value,
@ -212,6 +218,10 @@ function sureReload() { @@ -212,6 +218,10 @@ function sureReload() {
}).finally(() => {
showReload.value = false
})
})
.catch(() => {
showReload.value = false
});
}

2
tsconfig.json

@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
"noUnusedLocals": true,
"noImplicitAny": false,
"skipLibCheck": true,
"verbatimModuleSyntax": true
"importsNotUsedAsValues": "preserve"
},
"include": [
"src/App.vue",

Loading…
Cancel
Save