update 优化 执行eslint:fix优化代码

This commit is contained in:
疯狂的狮子Li
2025-05-15 14:52:31 +08:00
parent 7b48bd44a2
commit 7f15f0e15a
39 changed files with 117 additions and 124 deletions

View File

@ -197,7 +197,7 @@ import { categoryTree } from '@/api/workflow/category';
import { CategoryTreeVO } from '@/api/workflow/category/types';
import { FlowDefinitionQuery, FlowDefinitionVo, FlowDefinitionForm } from '@/api/workflow/definition/types';
import { UploadRequestOptions, TabsPaneContext } from 'element-plus';
import { ElMessageBoxOptions } from "element-plus/es/components/message-box/src/message-box.type";
import { ElMessageBoxOptions } from 'element-plus/es/components/message-box/src/message-box.type';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -326,7 +326,7 @@ const handleSelectionChange = (selection: any) => {
};
//分页
const getPageList = async () => {
let query = proxy.$route.query;
const query = proxy.$route.query;
if (query.activeName) {
activeName.value = query.activeName;
}
@ -411,7 +411,7 @@ const handlerBeforeUpload = () => {
};
//部署文件
const handlerImportDefinition = (data: UploadRequestOptions): XMLHttpRequest => {
let formData = new FormData();
const formData = new FormData();
uploadDialogLoading.value = true;
formData.append('file', data.file);
formData.append('category', selectCategory.value);
@ -467,7 +467,7 @@ const reset = () => {
const handleAdd = async () => {
reset();
if (queryParams.value.category != '') {
form.value.category = queryParams.value.category
form.value.category = queryParams.value.category;
}
modelDialog.visible = true;
modelDialog.title = '新增流程';