feat: 新增多个组件并优化优惠券相关功能
- 新增 AppLinkSelectDialog 组件,用于选择 APP 链接- 新增 NavigationBarCellProperty组件,用于导航栏单元格属性设置 - 新增 CombinationShowcase 和 CombinationTableSelect 组件,用于拼团活动展示和选择- 优化优惠券相关组件,导出所有优惠券相关组件 - 新增 ComponentContainer 组件,用于包裹和样式化 DIY 组件
This commit is contained in:
@@ -7,7 +7,7 @@ import { onMounted, reactive, ref } from 'vue';
|
||||
|
||||
import { AnalysisChartCard } from '@vben/common-ui';
|
||||
import { EchartsUI, useEcharts } from '@vben/plugins/echarts';
|
||||
import { fenToYuan } from '@vben/utils';
|
||||
import { fenToYuan, fenToYuanFormat } from '@vben/utils';
|
||||
|
||||
import { ElRow } from 'element-plus';
|
||||
|
||||
@@ -70,11 +70,6 @@ const getMemberAreaStatisticsList = async () => {
|
||||
areaChartOptions.visualMap.max = max;
|
||||
};
|
||||
|
||||
// 格式化为元
|
||||
const fenToYuanFormat = (row: any, column: any, cellValue: any) => {
|
||||
return fenToYuan(cellValue);
|
||||
};
|
||||
|
||||
onMounted(async () => {
|
||||
await getMemberAreaStatisticsList();
|
||||
renderEcharts(areaChartOptions);
|
||||
|
||||
Reference in New Issue
Block a user