Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
eleliauk committed Sep 4, 2024
1 parent d878386 commit 767e8a8
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions src/pages/classInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ import { useEffect, useState } from 'react';

import './index.scss';

import { CommentInfoType, Course } from '@/common/assets/types';
// import echarts from '../../common/assets/js/echarts';
// import Charts from '@/common/components/chart';
import { Comment } from '@/common/components';
import Label3 from '@/common/components/label3/label3';
import ShowStar from '@/common/components/showStar/showStar';
import { get } from '@/common/utils/fetch';

import { CommentInfoType, Course } from '../../common/assets/types';

// import { useRef } from 'react';
// import Echarts, { EChartOption, EchartsHandle } from 'taro-react-echarts';
// 定义接口
Expand Down Expand Up @@ -150,34 +149,3 @@ export default function Index() {
</View>
);
}

// function Demo() {
// const echartsRef = useRef<EchartsHandle>(null);
// const option: EChartOption = {
// legend: {
// top: 50,
// left: 'center',
// z: 100,
// },
// tooltip: {
// trigger: 'axis',
// show: true,
// confine: true,
// },
// xAxis: {
// type: 'category',
// data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
// },
// yAxis: {
// type: 'value',
// },
// series: [
// {
// data: [150, 230, 224, 218, 135, 147, 260],
// type: 'line',
// },
// ],
// };

// return <Echarts echarts={echarts} option={option} ref={echartsRef}></Echarts>;
// }

0 comments on commit 767e8a8

Please sign in to comment.