mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-10 12:50:38 +08:00
修复marLTemp变量未清空的bug
This commit is contained in:
parent
ab72ffa940
commit
1ff8a32427
@ -4,8 +4,8 @@
|
||||
*/
|
||||
'use strict'
|
||||
import Vue from 'vue'
|
||||
const 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…
x
Reference in New Issue
Block a user