|
@@ -8,10 +8,10 @@ import PageHelper from '@/components/page-helper.vue'
|
|
|
import dayjs from 'dayjs'
|
|
|
import CouponCard from '@/pages/common/components/coupon-card.vue'
|
|
|
|
|
|
-const tab = ref(2)
|
|
|
+const tab = ref('1')
|
|
|
const tabs = ref([
|
|
|
- { label: '商品优惠券', value: 2 },
|
|
|
- { label: '销售积分券', value: 1 },
|
|
|
+ { label: '销售积分券', value: '1' },
|
|
|
+ { label: '商品优惠券', value: '2' },
|
|
|
])
|
|
|
const query = computed(() => ({ couponType: tab.value, isUse: 0 }))
|
|
|
// const {data, run: set} = useRequest(() => getCoupons({}))
|