修复获取下级文档的bug

This commit is contained in:
yangjian 2019-07-28 10:02:19 +08:00
parent 0f4d7db5ff
commit 584832a7f4
4 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

BIN
requirements.txt Normal file

Binary file not shown.

View File

@ -84,6 +84,8 @@
if(r.status){
//解析文集的下级文档
//console.log(r.data)
$("#parent-doc").empty(); // 清空select选项
$("#parent-doc").append("<option value=''></option>")
for(let i in r.data) {
$("#parent-doc").append("<option value='"+r.data[i][0]+"'>"+r.data[i][3]+r.data[i][1]+"</option>")
};