Commit f675dbb1 authored by 神楽坂玲奈's avatar 神楽坂玲奈

Revert "fix"

This reverts commit 740db9af.
parent 740db9af
...@@ -19,13 +19,7 @@ export class NewRoomComponent { ...@@ -19,13 +19,7 @@ export class NewRoomComponent {
room = { room = {
title: this.login.user.username + '的房间', title: this.login.user.username + '的房间',
'private': false, 'private': false,
options: { options: { ...this.ygopro.default_options }
...this.ygopro.default_options,
// material select 只认 string
mode: this.ygopro.default_options.mode.toString(),
rule: this.ygopro.default_options.rule.toString(),
}
}; };
constructor(public ygopro: YGOProService, private login: LoginService, private snackBar: MdSnackBar) { constructor(public ygopro: YGOProService, private login: LoginService, private snackBar: MdSnackBar) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment