Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet-cdaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thibaut Felten
projet-cdaw
Commits
a736c559
Commit
a736c559
authored
Dec 04, 2020
by
Robin Borgogno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
probleme payer private resolu
parent
9f813a6e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
Login.vue
frontend/src/views/Login.vue
+1
-1
PlayerPrivate.vue
frontend/src/views/PlayerPrivate.vue
+5
-2
UpdateUser.vue
frontend/src/views/UpdateUser.vue
+1
-1
No files found.
frontend/src/views/Login.vue
View file @
a736c559
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</
style
>
</
style
>
<
script
>
<
script
>
// Appel de
s variables globales
user
// Appel de
la variable globale
user
const
user
=
require
(
"../model/user.js"
)
const
user
=
require
(
"../model/user.js"
)
export
default
{
export
default
{
...
...
frontend/src/views/PlayerPrivate.vue
View file @
a736c559
...
@@ -28,13 +28,16 @@
...
@@ -28,13 +28,16 @@
</
style
>
</
style
>
<
script
>
<
script
>
// Appel de
s variables globales
game
// Appel de
la variable globale
game
const
game
=
require
(
"../model/game.js"
)
const
game
=
require
(
"../model/game.js"
)
export
default
{
export
default
{
name
:
'PlayerPrivate'
,
name
:
'PlayerPrivate'
,
methods
:
{
methods
:
{
gameID
:
function
(){
return
game
.
id
},
JoueurPresent
:
async
function
(){
JoueurPresent
:
async
function
(){
// Fonction permettant d'afficher les joueurs présent et de rediger vers la partie lors de l'obtention du nombre de joueurs
souhaités
// Fonction permettant d'afficher les joueurs présent et de rediger vers la partie lors de l'obtention du nombre de joueurs
let
url
=
sessionStorage
.
getItem
(
'APIURL'
)
+
"/gameuser/game"
let
url
=
sessionStorage
.
getItem
(
'APIURL'
)
+
"/gameuser/game"
url
+=
"/"
+
game
.
id
;
url
+=
"/"
+
game
.
id
;
var
params
=
{
var
params
=
{
...
...
frontend/src/views/UpdateUser.vue
View file @
a736c559
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
</
style
>
</
style
>
<
script
>
<
script
>
// Appel de
s variables globales
user
// Appel de
la variable globale
user
const
user
=
require
(
"../model/user.js"
)
const
user
=
require
(
"../model/user.js"
)
export
default
{
export
default
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment