mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
set default neko image.
This commit is contained in:
@@ -320,12 +320,20 @@ export default class RoomsCreate extends Vue {
|
||||
|
||||
Clear() {
|
||||
this._form.resetValidation()
|
||||
this.data = { ...this.$store.state.defaultRoomSettings }
|
||||
this.data = {
|
||||
...this.$store.state.defaultRoomSettings,
|
||||
// eslint-disable-next-line
|
||||
neko_image: this.nekoImages[0],
|
||||
}
|
||||
}
|
||||
|
||||
Close() {
|
||||
this.Clear()
|
||||
this.$emit('finished', true)
|
||||
}
|
||||
|
||||
mounted() {
|
||||
this.Clear()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user