This commit is contained in:
wwb 2019-12-13 14:46:15 +08:00
parent 26deb58943
commit d72bd49c84
1 changed files with 3 additions and 1 deletions

View File

@ -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) {