bugfix
This commit is contained in:
parent
968639f063
commit
b70b789919
@ -501,7 +501,7 @@ export default Vue.extend({
|
||||
|
||||
// 主内容区域
|
||||
.main-content {
|
||||
padding: 16px;
|
||||
// padding: 16px;
|
||||
|
||||
width: 100%;
|
||||
max-width: 1600px;
|
||||
|
||||
@ -599,6 +599,9 @@ export default {
|
||||
|
||||
let formdata = new FormData();
|
||||
for (let key in this.form) {
|
||||
if(key == 'img'&&this.form.img == null){
|
||||
continue;
|
||||
}
|
||||
formdata.append(key, this.form[key]);
|
||||
}
|
||||
formdata.append('publish_type', this.publish_type)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user