small UI fixes
This commit is contained in:
@@ -95,6 +95,10 @@ export default {
|
||||
if (this.file) {
|
||||
fd.append('file', this.file)
|
||||
}
|
||||
if (this.object.thumb){
|
||||
fd.append('thumb', this.object.thumb)
|
||||
delete this.object.thumb;
|
||||
}
|
||||
fd.append('object', JSON.stringify(this.object));
|
||||
let result = await this.$api.gameObject.save(fd);
|
||||
Object.assign(this.object, result.data.object);
|
||||
|
||||
Reference in New Issue
Block a user