{"action":"opened","issue":{"url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/822","repository_url":"https://api.github.com/repos/wangfupeng1988/wangEditor","labels_url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/822/labels{/name}","comments_url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/822/comments","events_url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/822/events","html_url":"https://github.com/wangfupeng1988/wangEditor/issues/822","id":240644045,"number":822,"title":"上传图片配置附加在formData中的参数能不encode吗？","user":{"login":"csyingliu","id":16756050,"avatar_url":"https://avatars1.githubusercontent.com/u/16756050?v=3","gravatar_id":"","url":"https://api.github.com/users/csyingliu","html_url":"https://github.com/csyingliu","followers_url":"https://api.github.com/users/csyingliu/followers","following_url":"https://api.github.com/users/csyingliu/following{/other_user}","gists_url":"https://api.github.com/users/csyingliu/gists{/gist_id}","starred_url":"https://api.github.com/users/csyingliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csyingliu/subscriptions","organizations_url":"https://api.github.com/users/csyingliu/orgs","repos_url":"https://api.github.com/users/csyingliu/repos","events_url":"https://api.github.com/users/csyingliu/events{/privacy}","received_events_url":"https://api.github.com/users/csyingliu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-05T13:04:47Z","updated_at":"2017-07-05T13:04:47Z","closed_at":null,"body":"editor.customConfig.uploadImgParams = {\r\n    token: 'abcdef12345'   // 属性值会自动进行 encode ，此处无需 encode\r\n}\r\n\r\n此处我用的是\r\n  this.editor.customConfig.uploadImgParams = {\r\n                    param: JSON.stringify({\r\n                        'img': '',\r\n                        user_id: Cookie.get('WD_b_id'),\r\n                        h5_request: 1,\r\n                        app_type: 'fxx'\r\n                    })\r\n                }\r\n\r\n而放到formdata中的就是转义后的了，因为图片处理接口是公用接口，很难给项目定制处理，所以希望咨询此处能否配置。"}}
{"actor":{"display_login":"csyingliu"}}