Skip to content

Commit ebaec24

Browse files
committed
update 优化 eslint
1 parent 7637582 commit ebaec24

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/bpmn/assets/module/ContextPad/CustomContextPadProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class CustomContextPadProvider extends ContextPadProvider {
4040
rules: Rules,
4141
translate
4242
) {
43-
// @ts-ignore
43+
// @ts-expect-error 忽略异常
4444
super(config, injector, eventBus, contextPad, modeling, elementFactory, connect, create, popupMenu, canvas, rules, translate);
4545

4646
this._contextPad = contextPad;

src/components/Process/multiInstanceUser.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const props = defineProps({
128128
//回显用户id
129129
userIdList: {
130130
type: Array,
131-
default: []
131+
default: () => []
132132
}
133133
});
134134
const deptTreeRef = ref(ElTree);

src/components/Process/submitVerify.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const multiInstanceUserRef = ref<InstanceType<typeof MultiInstanceUser>>();
106106
const props = defineProps({
107107
taskVariables: {
108108
type: Object as () => Record<string, any>,
109-
default: {}
109+
default: () => {}
110110
}
111111
});
112112
//遮罩层

src/layout/components/AppMain.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<template>
22
<section class="app-main">
33
<router-view v-slot="{ Component, route }">
4-
<transition :enter-active-class="animante" mode="out-in">
5-
<div>
6-
<keep-alive v-if="!route.meta.noCache" :include="tagsViewStore.cachedViews">
7-
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
8-
</keep-alive>
9-
<component :is="Component" v-if="!route.meta.link && route.meta.noCache" :key="route.path" />
10-
</div>
4+
<transition v-if="!route.meta.noCache" :enter-active-class="animante" mode="out-in">
5+
<keep-alive v-if="!route.meta.noCache" :include="tagsViewStore.cachedViews">
6+
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
7+
</keep-alive>
8+
</transition>
9+
<transition v-if="route.meta.noCache" :enter-active-class="animante" mode="out-in">
10+
<component :is="Component" v-if="!route.meta.link && route.meta.noCache" :key="route.path" />
1111
</transition>
1212
</router-view>
1313
<iframe-toggle />

0 commit comments

Comments
 (0)