Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wotwizard-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emmanuel Salomon
wotwizard-ui
Commits
ccebbd59
Commit
ccebbd59
authored
3 years ago
by
Pierre-Jean CHANCELLIER
Browse files
Options
Downloads
Patches
Plain Diff
prevent inout vue to requery
parent
57c1830f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pages/inout.vue
+4
-3
4 additions, 3 deletions
pages/inout.vue
with
4 additions
and
3 deletions
pages/inout.vue
+
4
−
3
View file @
ccebbd59
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
<
script
>
<
script
>
import
gql
from
'
graphql-tag
'
import
gql
from
'
graphql-tag
'
const
today
=
Math
.
round
(
Date
.
now
()
/
1000
)
export
default
{
export
default
{
data
()
{
data
()
{
// Variables locales
// Variables locales
...
@@ -32,8 +34,7 @@ export default {
...
@@ -32,8 +34,7 @@ export default {
text
:
'
Entrées et sorties
'
,
text
:
'
Entrées et sorties
'
,
active
:
true
active
:
true
}
}
],
]
today
:
Math
.
round
(
Date
.
now
()
/
1000
)
}
}
},
},
// Fonctions locales
// Fonctions locales
...
@@ -59,7 +60,7 @@ export default {
...
@@ -59,7 +60,7 @@ export default {
}
}
}
}
} `
,
} `
,
variables
(){
return
{
start
:
this
.
today
-
86400
*
2
,
end
:
this
.
today
}},
variables
(){
return
{
start
:
today
-
86400
*
2
,
end
:
today
}},
update
(
data
)
{
update
(
data
)
{
let
result
=
{
'
entrees
'
:[],
'
sorties
'
:[]}
let
result
=
{
'
entrees
'
:[],
'
sorties
'
:[]}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment