Commit d72bd49c authored by wwb's avatar wwb

bug

parent 26deb589
......@@ -276,7 +276,9 @@
if (valid) {
that.saveDisabled = true;
var data = JSON.parse(JSON.stringify(that.form));
data.contentType = data.contentType.join(',');
if(data.contentType !=null){
data.contentType = data.contentType.join(',');
}
data.contentImg = JSON.stringify(data.contentImg);
ms.http.post(url, data).then(function (data) {
if (data.result) {
......
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