update applications/view/department/__init__.py.

这个地方也需要相应的修改,和power.py一样。
This commit is contained in:
VincentFu
2021-10-03 17:31:39 +00:00
committed by Gitee
parent a7fa415545
commit c71562a12f
+1 -1
View File
@@ -22,7 +22,7 @@ def main():
return render_template('admin/dept/main.html')
@dept_bp.get('/data')
@dept_bp.post('/data')
@authorize("admin:dept:main", log=True)
def data():
dept = Dept.query.order_by(Dept.sort).all()