mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-09 15:41:53 +08:00
chore: 规范不符合eslint校验规则的代码
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user