Compare commits
2 Commits
81f1eae2d5
...
9c011dfc8c
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c011dfc8c | |||
| aa6b1dec3f |
2
app.py
2
app.py
@@ -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'])
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}编辑数据 - 紫金·稷下薪火·云枢智海师生成果共创系统{% endblock %}
|
||||
{% block title %}编辑成果信息 - 紫金·稷下薪火·云枢智海师生成果共创系统{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<style>
|
||||
Reference in New Issue
Block a user