refactor(front): 重构前端组件和 API
- 更新了多个组件的样式和结构 - 重命名了一些 API 文件 - 添加了新的 API 接口 - 优化了部分代码的可读性和性能
This commit is contained in:
@@ -2,10 +2,7 @@ import {
|
||||
initData,
|
||||
download
|
||||
} from '@/api/data'
|
||||
import {
|
||||
parseTime,
|
||||
downloadFile
|
||||
} from '@/utils'
|
||||
import { DownloadFile } from '@/utils/CsDomUtil'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -46,8 +43,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
parseTime,
|
||||
downloadFile,
|
||||
DownloadFile,
|
||||
async init() {
|
||||
if (!await this.beforeInit()) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user