Commit e46950a0 authored by 周远喜's avatar 周远喜

JSON.stringify bug处理

parent ae989824
...@@ -781,13 +781,12 @@ export default { ...@@ -781,13 +781,12 @@ export default {
var url = `${systemUrl}/MyUserRole/CreateOrUpdate` var url = `${systemUrl}/MyUserRole/CreateOrUpdate`
service service
.post( .post(
`${url}`, `${url}`,{
JSON.stringify({
myUserRole: { myUserRole: {
userId: this.selectedRow.id, userId: this.selectedRow.id,
RoleIds: this.allChecked.join(',') RoleIds: this.allChecked.join(',')
} }
}) }
) )
.then((response) => { .then((response) => {
if (response.success) { if (response.success) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment