新增“数据编辑”

This commit is contained in:
2025-10-14 15:35:32 +08:00
parent 81f1eae2d5
commit aa6b1dec3f
2 changed files with 257 additions and 1 deletions

2
app.py
View File

@@ -295,7 +295,7 @@ def edit_entry(doc_id):
# 保持原始数据格式不进行JSON转换
# 直接传递包含data字段的原始文档
return render_template('edit.html', document=document)
return render_template('edited.html', document=document)
# 更新数据路由
@app.route('/update/<doc_id>', methods=['POST'])