修复marLTemp变量未清空的bug
This commit is contained in:
parent
33344a778f
commit
d97772595a
|
@ -4,7 +4,8 @@
|
|||
*/
|
||||
'use strict'
|
||||
import Vue from 'vue'
|
||||
export default function treeToArray(data, parent, level, expandedAll, item, marLTemp = []) {
|
||||
export default function treeToArray(data, parent, level, expandedAll, item) {
|
||||
const marLTemp = []
|
||||
let tmp = []
|
||||
Array.from(data).forEach(function(record) {
|
||||
if (record._expanded === undefined) {
|
||||
|
|
Loading…
Reference in New Issue