feat:add eslint and fix

This commit is contained in:
黄云飞
2022-03-22 14:48:10 +08:00
parent 764fd8bbad
commit c49b7b5978
59 changed files with 1117 additions and 317 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
import { deepClone, getUUID } from "."
import { ElementType, IElement } from ".."
import { ZERO } from "../dataset/constant/Common"
import { EDITOR_ELEMENT_ZIP_ATTR } from "../dataset/constant/Element"
import { deepClone, getUUID } from '.'
import { ElementType, IElement } from '..'
import { ZERO } from '../dataset/constant/Common'
import { EDITOR_ELEMENT_ZIP_ATTR } from '../dataset/constant/Element'
export function formatElementList(elementList: IElement[], isHandleFirstElement = true) {
if (isHandleFirstElement && elementList[0]?.value !== ZERO) {