Browse Source

fix: workflow app error msg 31

master
wangxiang 2 years ago
parent
commit
6b943386e8
No known key found for this signature in database
GPG Key ID: 1BA7946AB6B232E4
  1. 6
      src/views/workflow/task/TaskForm.vue

6
src/views/workflow/task/TaskForm.vue

@ -193,6 +193,7 @@ @@ -193,6 +193,7 @@
import { ActivityCommentInfo } from '/@/api/platform/workflow/entity/activityCommentInfo';
import RollBackTaskModal from './popups/RollBackTaskModal.vue';
import { PageEnum } from '/@/enums/workflowEnum';
import { useAppStore } from '/@/store/modules/app';
/** 类型规范统一声明定义区域 */
interface WindowState {
@ -261,6 +262,7 @@ @@ -261,6 +262,7 @@
const AInputTextarea = Input.TextArea;
const AInputGroup = Input.Group;
const appStore = useAppStore();
const { prefixCls } = useDesign('task-form');
const { getIsMobile } = useAppInject();
const { getCalcContentWidth } = useMenuSetting();
@ -590,7 +592,8 @@ @@ -590,7 +592,8 @@
await push({ path: PageEnum.TODO_TASK_PAGE });
}
function submit(button: Partial<WorkflowButton>) {
async function submit(button: Partial<WorkflowButton>) {
await appStore.setPageLoadingAction(true);
//
const vars: Recordable = {};
//
@ -649,6 +652,7 @@ @@ -649,6 +652,7 @@
//
default:
commit(vars);
await appStore.setPageLoadingAction(false);
}
}

Loading…
Cancel
Save