diff --git a/apps/web-antd/src/api/infra/demo/demo02/index.ts b/apps/web-antd/src/api/infra/demo/demo02/index.ts index b4edd746e..60d79889e 100644 --- a/apps/web-antd/src/api/infra/demo/demo02/index.ts +++ b/apps/web-antd/src/api/infra/demo/demo02/index.ts @@ -11,7 +11,7 @@ export namespace Demo02CategoryApi { } /** 查询示例分类列表 */ -export function getDemo02CategoryList(params: any) { +export function getDemo02CategoryList(params?: any) { return requestClient.get( '/infra/demo02-category/list', { params }, diff --git a/apps/web-antd/src/views/ai/music/index/list/audioBar/index.vue b/apps/web-antd/src/views/ai/music/index/list/audioBar/index.vue index 351dcac3e..1767bc7d5 100644 --- a/apps/web-antd/src/views/ai/music/index/list/audioBar/index.vue +++ b/apps/web-antd/src/views/ai/music/index/list/audioBar/index.vue @@ -11,6 +11,7 @@ defineOptions({ name: 'AiMusicAudioBarIndex' }); const currentSong = inject('currentSong', {}); const audioRef = ref(null); +const audioProgress = ref(0); const audioProps = reactive({ autoplay: true, paused: false, @@ -73,11 +74,7 @@ function audioTimeUpdate(args: any) { />
{{ audioProps.currentTime }} - + {{ audioProps.duration }}
diff --git a/apps/web-antd/src/views/mall/promotion/coupon/formatter.ts b/apps/web-antd/src/views/mall/promotion/coupon/formatter.ts index 2f34863ff..aa652494a 100644 --- a/apps/web-antd/src/views/mall/promotion/coupon/formatter.ts +++ b/apps/web-antd/src/views/mall/promotion/coupon/formatter.ts @@ -47,7 +47,7 @@ export function totalCountFormat(row: MallCouponTemplateApi.CouponTemplate) { if (row.totalCount === -1) { return '不限制'; } - return row.totalCount; + return `${row.totalCount}`; } /** 格式化【剩余数量】 */ @@ -55,7 +55,7 @@ export function remainedCountFormat(row: MallCouponTemplateApi.CouponTemplate) { if (row.totalCount === -1) { return '不限制'; } - return row.totalCount - row.takeCount; + return `${row.totalCount - row.takeCount}`; } /** 格式化【最低消费】 */ diff --git a/apps/web-antdv-next/src/api/infra/demo/demo02/index.ts b/apps/web-antdv-next/src/api/infra/demo/demo02/index.ts index b4edd746e..60d79889e 100644 --- a/apps/web-antdv-next/src/api/infra/demo/demo02/index.ts +++ b/apps/web-antdv-next/src/api/infra/demo/demo02/index.ts @@ -11,7 +11,7 @@ export namespace Demo02CategoryApi { } /** 查询示例分类列表 */ -export function getDemo02CategoryList(params: any) { +export function getDemo02CategoryList(params?: any) { return requestClient.get( '/infra/demo02-category/list', { params }, diff --git a/apps/web-antdv-next/src/views/ai/music/index/list/audioBar/index.vue b/apps/web-antdv-next/src/views/ai/music/index/list/audioBar/index.vue index 30c5b2c4c..ab6430f37 100644 --- a/apps/web-antdv-next/src/views/ai/music/index/list/audioBar/index.vue +++ b/apps/web-antdv-next/src/views/ai/music/index/list/audioBar/index.vue @@ -11,6 +11,7 @@ defineOptions({ name: 'AiMusicAudioBarIndex' }); const currentSong = inject('currentSong', {}); const audioRef = ref(null); +const audioProgress = ref(0); const audioProps = reactive({ autoplay: true, paused: false, @@ -73,11 +74,7 @@ function audioTimeUpdate(args: any) { />
{{ audioProps.currentTime }} - + {{ audioProps.duration }}
diff --git a/apps/web-antdv-next/src/views/mall/promotion/coupon/formatter.ts b/apps/web-antdv-next/src/views/mall/promotion/coupon/formatter.ts index 2f34863ff..aa652494a 100644 --- a/apps/web-antdv-next/src/views/mall/promotion/coupon/formatter.ts +++ b/apps/web-antdv-next/src/views/mall/promotion/coupon/formatter.ts @@ -47,7 +47,7 @@ export function totalCountFormat(row: MallCouponTemplateApi.CouponTemplate) { if (row.totalCount === -1) { return '不限制'; } - return row.totalCount; + return `${row.totalCount}`; } /** 格式化【剩余数量】 */ @@ -55,7 +55,7 @@ export function remainedCountFormat(row: MallCouponTemplateApi.CouponTemplate) { if (row.totalCount === -1) { return '不限制'; } - return row.totalCount - row.takeCount; + return `${row.totalCount - row.takeCount}`; } /** 格式化【最低消费】 */ diff --git a/apps/web-ele/src/api/infra/demo/demo02/index.ts b/apps/web-ele/src/api/infra/demo/demo02/index.ts index b4edd746e..60d79889e 100644 --- a/apps/web-ele/src/api/infra/demo/demo02/index.ts +++ b/apps/web-ele/src/api/infra/demo/demo02/index.ts @@ -11,7 +11,7 @@ export namespace Demo02CategoryApi { } /** 查询示例分类列表 */ -export function getDemo02CategoryList(params: any) { +export function getDemo02CategoryList(params?: any) { return requestClient.get( '/infra/demo02-category/list', { params }, diff --git a/apps/web-ele/src/views/ai/music/index/list/audioBar/index.vue b/apps/web-ele/src/views/ai/music/index/list/audioBar/index.vue index 961620aab..59960dc1f 100644 --- a/apps/web-ele/src/views/ai/music/index/list/audioBar/index.vue +++ b/apps/web-ele/src/views/ai/music/index/list/audioBar/index.vue @@ -11,6 +11,7 @@ defineOptions({ name: 'AiMusicAudioBarIndex' }); const currentSong = inject('currentSong', {}); const audioRef = ref(null); +const audioProgress = ref(0); const audioProps = reactive({ autoplay: true, paused: false, @@ -73,7 +74,7 @@ function audioTimeUpdate(args: any) { />
{{ audioProps.currentTime }} - + {{ audioProps.duration }}
diff --git a/apps/web-ele/src/views/mall/promotion/coupon/formatter.ts b/apps/web-ele/src/views/mall/promotion/coupon/formatter.ts index 2f34863ff..aa652494a 100644 --- a/apps/web-ele/src/views/mall/promotion/coupon/formatter.ts +++ b/apps/web-ele/src/views/mall/promotion/coupon/formatter.ts @@ -47,7 +47,7 @@ export function totalCountFormat(row: MallCouponTemplateApi.CouponTemplate) { if (row.totalCount === -1) { return '不限制'; } - return row.totalCount; + return `${row.totalCount}`; } /** 格式化【剩余数量】 */ @@ -55,7 +55,7 @@ export function remainedCountFormat(row: MallCouponTemplateApi.CouponTemplate) { if (row.totalCount === -1) { return '不限制'; } - return row.totalCount - row.takeCount; + return `${row.totalCount - row.takeCount}`; } /** 格式化【最低消费】 */