Use string interpolation
This commit is contained in:
parent
ffb345ccb5
commit
291beb45fc
40 changed files with 53 additions and 53 deletions
|
|
@ -82,7 +82,7 @@ export default Vue.extend({
|
|||
search() {
|
||||
const query = window.prompt('%i18n:@search%');
|
||||
if (query == null || query == '') return;
|
||||
this.$router.push('/search?q=' + encodeURIComponent(query));
|
||||
this.$router.push(`/search?q=${encodeURIComponent(query)}`);
|
||||
},
|
||||
onReversiInvited() {
|
||||
this.hasGameInvitation = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue