杂务:新增声明级注释覆盖率
This commit is contained in:
@@ -68,14 +68,26 @@ import { LeftOutlined } from '@ant-design/icons-vue'
|
||||
import { message } from 'ant-design-vue'
|
||||
import { couponApi } from '@/api/coupon'
|
||||
|
||||
/**
|
||||
* Purpose: router supports CouponView.vue by holding or executing the router page or API role.
|
||||
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
const router = useRouter()
|
||||
|
||||
/** loading is a reactive state variable used by the template and event handlers. */
|
||||
const loading = ref(false)
|
||||
/**
|
||||
* Purpose: coupons supports CouponView.vue by holding or executing the coupons page or API role.
|
||||
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
const coupons = ref<any[]>([])
|
||||
/** activeFilter is a reactive state variable used by the template and event handlers. */
|
||||
const activeFilter = ref('all')
|
||||
|
||||
/**
|
||||
* Purpose: filterOptions supports CouponView.vue by holding or executing the filter options page or API role.
|
||||
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
const filterOptions = [
|
||||
{ label: '全部', value: 'all' },
|
||||
{ label: '未使用', value: 'available' },
|
||||
|
||||
Reference in New Issue
Block a user