main #8

Merged
charles merged 16 commits from main into prod 2025-08-19 16:06:08 +08:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit b70b789919 - Show all commits

View File

@ -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;

View File

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