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