Commit bc951d2e by zhangzhen

细节优化

parent ffafd23b
......@@ -315,6 +315,7 @@
})
}
}
console.log(this.folderList,9999999)
},
onReachBottom() {
if (this.status == 'loadmore') {
......@@ -417,13 +418,14 @@
})
},
onGetFolder() {
let lastObj = this.folderList[this.folderList.length - 1]
let lastObj = this.folderList[this.folderList.length - 1];
console.log(lastObj,'lastObj')
if(lastObj.leaf == '1'){
this.onGetList();
}else{
getProjTreeData({
node: lastObj.code,
projCode: lastObj.code
projCode: lastObj.projCode
}).then(res => {
this.onGetList();
this.folders = toJsonData(res.data.__blocks__[lastObj.code].rows, res.data.__blocks__[lastObj.code].meta.columns);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment