开发个人业绩组件

This commit is contained in:
2023-09-01 19:05:30 +08:00
parent 7c5da24f5a
commit ae68f047f4
6 changed files with 55 additions and 34 deletions

View File

@@ -29,11 +29,11 @@ export default {
setup( props )
{
const ui = reactive({
mensualList:[],
mensualList: [],
});
// 设置图表
const initCharts = () =>
const initCharts = (): void =>
{
console.log( "每月业绩", props.chartData );
const chartDom = document.getElementById( "chartWrapper" );
@@ -55,7 +55,7 @@ export default {
],
};
option && myChart.setOption( option );
myChart.setOption( option );
window.onresize = function ()
{