break:移除flask-restful
This commit is contained in:
@@ -61,8 +61,9 @@
|
||||
|
||||
$.ajax({
|
||||
url: '/api/v1/roles/role_power/' + data.field.roleId,
|
||||
data: data.field,
|
||||
data: JSON.stringify(data.field),
|
||||
dataType: 'json',
|
||||
contentType: 'application/json',
|
||||
type: 'put',
|
||||
success: function (result) {
|
||||
if (result.success) {
|
||||
|
||||
Reference in New Issue
Block a user