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' {
Tensorflow: typeof import('./src/components/arFrame/tensorflow.vue')['default'] Tensorflow: typeof import('./src/components/arFrame/tensorflow.vue')['default']
VanActionSheet: typeof import('vant/es')['ActionSheet'] VanActionSheet: typeof import('vant/es')['ActionSheet']
VanAddressEdit: typeof import('vant/es')['AddressEdit'] VanAddressEdit: typeof import('vant/es')['AddressEdit']
VanArea: typeof import('vant/es')['Area']
VanDivider: typeof import('vant/es')['Divider'] VanDivider: typeof import('vant/es')['Divider']
VanField: typeof import('vant/es')['Field'] VanField: typeof import('vant/es')['Field']
VanIcon: typeof import('vant/es')['Icon'] VanIcon: typeof import('vant/es')['Icon']

4
src/views/badge/index.vue

@ -110,10 +110,10 @@
</div> </div>
<div class="tag-change-box" v-if="orderStat.use_type == 2"> <div class="tag-change-box" v-if="orderStat.use_type == 2">
<div class="tag-change-item"> <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>
<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>
</div> </div>

10
src/views/badge/preview.vue

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

2
tsconfig.json

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

Loading…
Cancel
Save