2025-09-15
This commit is contained in:
@@ -260,7 +260,7 @@ export default {
|
||||
let num = 1;
|
||||
let column = this.list;
|
||||
// 只要有元素并且第一个元素有children属性,继续历遍
|
||||
while(column[0][this.childName]) {
|
||||
while(column[0][this.childName] && column[0][this.childName].length>0) {
|
||||
column = column[0] ? column[0][this.childName] : {};
|
||||
num ++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user