code review:优惠劵逻辑

This commit is contained in:
YunaiV
2023-09-02 00:34:45 +08:00
parent 9aa7ba3578
commit d10530c9f5
3 changed files with 5 additions and 5 deletions

View File

@ -210,7 +210,7 @@ const emits = defineEmits<{
/** 全选 */
const handleCheckAll = (checked: boolean) => {
//todo 不触发?
debugger
console.log('checkAll', checked)
allChecked.value = checked
const index = checkedPageNos.value.indexOf(queryParams.value.pageNo)

View File

@ -107,7 +107,7 @@ const queryParams = ref({
pageNo: 1,
pageSize: 10,
name: null,
canTakeTypes: [CouponTemplateTakeTypeEnum.BY_ADMIN.type]
canTakeTypes: [CouponTemplateTakeTypeEnum.ADMIN.type]
}) // 查询参数
const queryFormRef = ref() // 搜索的表单
// 领取人的编号列表