refactor(front): 重构前端组件和 API

- 更新了多个组件的样式和结构
- 重命名了一些 API 文件
- 添加了新的 API 接口
- 优化了部分代码的可读性和性能
This commit is contained in:
2025-07-23 20:58:15 +08:00
parent 091c056cd0
commit 902173a9e9
111 changed files with 1841 additions and 1198 deletions
@@ -4,8 +4,9 @@
<script>
import echarts from 'echarts'
import { DeBounce } from '@/utils/CsUtil'
require('echarts/theme/macarons') // echarts theme
import { debounce } from '@/utils'
const animationDuration = 3000
@@ -31,7 +32,7 @@ export default {
},
mounted() {
this.initChart()
this.__resizeHandler = debounce(() => {
this.__resizeHandler = DeBounce(() => {
if (this.chart) {
this.chart.resize()
}