update applications/view/department/__init__.py.
这个地方也需要相应的修改,和power.py一样。
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user