From 767e8a88aa10026e7e7b114841d2934ae167023f Mon Sep 17 00:00:00 2001 From: eleliauk <2831336720@qq.com> Date: Wed, 4 Sep 2024 10:16:28 +0800 Subject: [PATCH] merge --- src/pages/classInfo/index.tsx | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/src/pages/classInfo/index.tsx b/src/pages/classInfo/index.tsx index 2cb2638..887b592 100644 --- a/src/pages/classInfo/index.tsx +++ b/src/pages/classInfo/index.tsx @@ -9,6 +9,7 @@ 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'; @@ -16,8 +17,6 @@ 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'; // 定义接口 @@ -150,34 +149,3 @@ export default function Index() { ); } - -// function Demo() { -// const echartsRef = useRef(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 ; -// }