【优化】增加 pnpm-lock 保证大家更好的打包

pull/408/MERGE
YunaiV 2024-04-29 21:47:49 +08:00
parent a0996bd0cf
commit 500b8632df
3 changed files with 9616 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,7 +4,6 @@ dist
dist-ssr
*.local
/dist*
*-lock.*
pnpm-debug
auto-*.d.ts
.idea

9614
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -151,6 +151,7 @@ import * as BargainActivityApi from '@/api/mall/promotion/bargain/bargainActivit
import BargainActivityForm from './BargainActivityForm.vue'
import { formatDate } from '@/utils/formatTime'
import { fenToYuanFormat } from '@/utils/formatter'
import { closeBargainActivity } from '@/api/mall/promotion/bargain/bargainActivity'
defineOptions({ name: 'PromotionBargainActivity' })
@ -206,7 +207,7 @@ const handleClose = async (id: number) => {
//
await message.confirm('确认关闭该砍价活动吗?')
//
await BargainActivityApi.closeSeckillActivity(id)
await BargainActivityApi.closeBargainActivity(id)
message.success('关闭成功')
//
await getList()