!18 update applications/view/department/__init__.py.

Merge pull request !18 from VincentFu/N/A
This commit is contained in:
mkg
2021-10-04 00:42:32 +00:00
committed by Gitee
+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()