- 增加树形结构表格
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {
|
||||
appendChild,
|
||||
getAttribute,
|
||||
createElement,
|
||||
querySelector,
|
||||
appendChildren,
|
||||
@@ -31,8 +32,8 @@ export function replaceColGroup(vm) {
|
||||
})
|
||||
}
|
||||
|
||||
export function getIntByAttr(el, key, def) {
|
||||
return Number.parseInt(el.getAttribute(key) || def)
|
||||
export function getAttrNumber(el, key, def) {
|
||||
return Number.parseInt(getAttribute(el, key) || def)
|
||||
}
|
||||
|
||||
export function getEmptyIndexInArray(array) {
|
||||
|
||||
Reference in New Issue
Block a user