main
karlis 2023-07-07 01:11:30 +08:00
parent 5928e49884
commit 986b45a450
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ FluArea {
id: listModel id: listModel
} }
Component.onCompleted: { Component.onCompleted: {
var history = UserData.viewHistory
console.log(history)
listModel.clear() listModel.clear()
for (var i = 0; i < history.length; i++) { for (var i = 0; i < history.length; i++) {
Request.get("/knowledge/" + history[i] + "/detailed", response => { Request.get("/knowledge/" + history[i] + "/detailed", response => {