forked from mirror/MrDoc
修复获取下级文档的bug
This commit is contained in:
parent
0f4d7db5ff
commit
584832a7f4
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
BIN
media/201907/2019-07-28090944649358mrdoc_20190728.gif
Normal file
BIN
media/201907/2019-07-28090944649358mrdoc_20190728.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 221 KiB |
BIN
requirements.txt
Normal file
BIN
requirements.txt
Normal file
Binary file not shown.
@ -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>")
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user