chore: 规范不符合eslint校验规则的代码

This commit is contained in:
Siyu Kong committed 2023-02-21 18:29:27 +08:00
1 parent 2ec6978400
commit f2f564dc0c
24 files changed
+127 -97

No files matched your search

@@ -8,9 +8,10 @@
<script setup lang="ts" name="MyProcessPalette">
import { assign } from 'min-dash'
const addTask = (event, options = {}) => {
const ElementFactory = window.bpmnInstances.elementFactory
const create = window.bpmnInstances.modeler.get('create')
const bpmnInstances = () => (window as any).bpmnInstances
const addTask = (event, options: any = {}) => {
const ElementFactory = bpmnInstances().elementFactory
const create = bpmnInstances().modeler.get('create')
console.log(ElementFactory, create)