diff --git a/apps/web-antd/src/api/mall/statistics/trade.ts b/apps/web-antd/src/api/mall/statistics/trade.ts
index 05dc7f3ef..fea420b75 100644
--- a/apps/web-antd/src/api/mall/statistics/trade.ts
+++ b/apps/web-antd/src/api/mall/statistics/trade.ts
@@ -7,7 +7,7 @@ import { requestClient } from '#/api/request';
export namespace MallTradeStatisticsApi {
/** 交易状况 Request */
export interface TradeTrendReqVO {
- times: [Date, Date];
+ times?: string[];
}
/** 交易统计 Response */
diff --git a/apps/web-antd/src/views/mall/promotion/banner/modules/form.vue b/apps/web-antd/src/views/mall/promotion/banner/modules/form.vue
index 818380589..cc2b194c3 100644
--- a/apps/web-antd/src/views/mall/promotion/banner/modules/form.vue
+++ b/apps/web-antd/src/views/mall/promotion/banner/modules/form.vue
@@ -1,6 +1,5 @@
diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/index.vue
index e420c7837..38d9a30e0 100644
--- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/index.vue
+++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/index.vue
@@ -44,7 +44,6 @@ const emits = defineEmits(['reset', 'save', 'update:modelValue']); // 工具栏
// margin: 4,
// }); // 预览二维码
-const componentLibrary = ref(); // 左侧组件库
const pageConfigComponent = ref>(
cloneDeep(PAGE_CONFIG_COMPONENT),
); // 页面设置组件
@@ -336,7 +335,6 @@ onMounted(() => {
diff --git a/apps/web-antd/src/views/mall/promotion/kefu/modules/message-list.vue b/apps/web-antd/src/views/mall/promotion/kefu/modules/message-list.vue
index b888ee66d..3817a0cb2 100644
--- a/apps/web-antd/src/views/mall/promotion/kefu/modules/message-list.vue
+++ b/apps/web-antd/src/views/mall/promotion/kefu/modules/message-list.vue
@@ -4,9 +4,9 @@ import type { Emoji } from './tools/emoji';
import type { MallKefuConversationApi } from '#/api/mall/promotion/kefu/conversation';
import type { MallKefuMessageApi } from '#/api/mall/promotion/kefu/message';
-import { computed, KeFuMessageContentTypeEnum, reactive, ref, toRefs, unref, watch } from 'vue';
+import { computed, reactive, ref, toRefs, unref, watch } from 'vue';
-import { UserTypeEnum } from '@vben/constants';
+import { KeFuMessageContentTypeEnum, UserTypeEnum } from '@vben/constants';
import { IconifyIcon } from '@vben/icons';
import { formatDate, isEmpty, jsonParse } from '@vben/utils';
diff --git a/apps/web-antd/src/views/mall/promotion/point/components/table-select.vue b/apps/web-antd/src/views/mall/promotion/point/components/table-select.vue
index d4c1a2a27..f6926513b 100644
--- a/apps/web-antd/src/views/mall/promotion/point/components/table-select.vue
+++ b/apps/web-antd/src/views/mall/promotion/point/components/table-select.vue
@@ -196,12 +196,10 @@ const [Modal, modalApi] = useVbenModal({
>();
if (props.multiple && Array.isArray(data) && data.length > 0) {
setTimeout(() => {
- const tableData = gridApi.grid.getTableData().fullData;
+ const tableData = gridApi.grid.getTableData()
+ .fullData as MallPointActivityApi.PointActivity[];
data.forEach((activity) => {
- const row = tableData.find(
- (item: MallPointActivityApi.PointActivity) =>
- item.id === activity.id,
- );
+ const row = tableData.find((item) => item.id === activity.id);
if (row) {
gridApi.grid.setCheckboxRow(row, true);
}
@@ -209,10 +207,9 @@ const [Modal, modalApi] = useVbenModal({
}, 300);
} else if (!props.multiple && data && !Array.isArray(data)) {
setTimeout(() => {
- const tableData = gridApi.grid.getTableData().fullData;
- const row = tableData.find(
- (item: MallPointActivityApi.PointActivity) => item.id === data.id,
- );
+ const tableData = gridApi.grid.getTableData()
+ .fullData as MallPointActivityApi.PointActivity[];
+ const row = tableData.find((item) => item.id === data.id);
if (row) {
gridApi.grid.setRadioRow(row);
}
diff --git a/apps/web-antdv-next/src/api/mall/statistics/trade.ts b/apps/web-antdv-next/src/api/mall/statistics/trade.ts
index 05dc7f3ef..fea420b75 100644
--- a/apps/web-antdv-next/src/api/mall/statistics/trade.ts
+++ b/apps/web-antdv-next/src/api/mall/statistics/trade.ts
@@ -7,7 +7,7 @@ import { requestClient } from '#/api/request';
export namespace MallTradeStatisticsApi {
/** 交易状况 Request */
export interface TradeTrendReqVO {
- times: [Date, Date];
+ times?: string[];
}
/** 交易统计 Response */
diff --git a/apps/web-antdv-next/src/views/mall/promotion/components/diy-editor/index.vue b/apps/web-antdv-next/src/views/mall/promotion/components/diy-editor/index.vue
index 0772629b7..c1b8c27a8 100644
--- a/apps/web-antdv-next/src/views/mall/promotion/components/diy-editor/index.vue
+++ b/apps/web-antdv-next/src/views/mall/promotion/components/diy-editor/index.vue
@@ -44,7 +44,6 @@ const emits = defineEmits(['reset', 'save', 'update:modelValue']); // 工具栏
// margin: 4,
// }); // 预览二维码
-const componentLibrary = ref(); // 左侧组件库
const pageConfigComponent = ref>(
cloneDeep(PAGE_CONFIG_COMPONENT),
); // 页面设置组件
@@ -332,7 +331,6 @@ onMounted(() => {
diff --git a/apps/web-ele/src/api/mall/statistics/trade.ts b/apps/web-ele/src/api/mall/statistics/trade.ts
index 05dc7f3ef..fea420b75 100644
--- a/apps/web-ele/src/api/mall/statistics/trade.ts
+++ b/apps/web-ele/src/api/mall/statistics/trade.ts
@@ -7,7 +7,7 @@ import { requestClient } from '#/api/request';
export namespace MallTradeStatisticsApi {
/** 交易状况 Request */
export interface TradeTrendReqVO {
- times: [Date, Date];
+ times?: string[];
}
/** 交易统计 Response */
diff --git a/apps/web-ele/src/views/mall/promotion/banner/modules/form.vue b/apps/web-ele/src/views/mall/promotion/banner/modules/form.vue
index d2267a3bc..723696b79 100644
--- a/apps/web-ele/src/views/mall/promotion/banner/modules/form.vue
+++ b/apps/web-ele/src/views/mall/promotion/banner/modules/form.vue
@@ -1,6 +1,5 @@