|
@@ -461,8 +461,10 @@ export default {
|
|
|
// 删除仅作展示的缓存数据
|
|
|
for (const index in this.form) {
|
|
|
delete this.form[index].contentId
|
|
|
- this.form[index].module.description = this.form[index].description
|
|
|
- delete this.form[index].description
|
|
|
+ if ('description' in this.form[index]) {
|
|
|
+ this.form[index].module.description = this.form[index].description
|
|
|
+ delete this.form[index].description
|
|
|
+ }
|
|
|
}
|
|
|
submitThree(data).then(res => {
|
|
|
if (res.code === 0) {
|