This commit is contained in:
@@ -56,14 +56,6 @@ export default {
|
||||
renderType: 'ST',
|
||||
cameraType: 'perspective',
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
async setGameHeader(){
|
||||
let screenshot = await this.engine.captureScreenshot();
|
||||
let fd = new FormData();
|
||||
fd.append('file', screenshot);
|
||||
await this.$api.game.setHeader(this.modelValue.id, fd);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user