flask-restful依赖替换完成

This commit is contained in:
zhengxinonly
2021-06-28 01:56:05 +08:00
parent e3dd5458ad
commit 17792ccacf
28 changed files with 229 additions and 349 deletions
+1 -1
View File
@@ -102,7 +102,7 @@
/*表单组件,提交按钮之后触发的事件*/
form.on('submit(dept-save)', function (data) {
$.ajax({
url: '/dept/save',
url: '/dept/add',
data: JSON.stringify(data.field),
dataType: 'json',
contentType: 'application/json',