Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre-Yves Gicquel
albiziapp
Commits
54dffc7d
Commit
54dffc7d
authored
Jun 24, 2019
by
gick
Browse files
fixed bug in history
parent
922d539f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pages/ReleveIdentification.vue
View file @
54dffc7d
...
...
@@ -80,10 +80,10 @@
:customStrings=
customStrings
></picture-input>
</v-ons-list-item>
<v-ons-list-item
v-
if
=
"releve.identificationValue.success
&& releve
"
>
<v-ons-list-item
v-
show
=
"releve.identificationValue.success"
>
<img
v-show=
"
releve.identificationValue.i
mage"
:src=
"releve.identificationValue.
i
mage"
v-show=
"
hasI
mage"
:src=
"releve.identificationValue.
userI
mage"
style=
"width: 100%"
>
</v-ons-list-item>
...
...
@@ -160,7 +160,7 @@ export default {
},
computed
:
{
hasImage
()
{
if
(
this
.
releve
.
identificationValue
.
image
)
{
if
(
this
.
releve
.
identificationValue
.
userImage
!=
undefined
)
{
return
true
;
}
return
false
...
...
@@ -192,7 +192,7 @@ export default {
function
(
compressedFile
)
{
imageCompression
.
getDataUrlFromFile
(
compressedFile
).
then
(
function
(
compressedDataURI
)
{
this
.
$set
(
this
.
releve
.
identificationValue
,
'
i
mage
'
,
compressedDataURI
);
this
.
$set
(
this
.
releve
.
identificationValue
,
'
userI
mage
'
,
compressedDataURI
);
}.
bind
(
this
)
);
//return uploadToServer(compressedFile); // write your own logic
...
...
Write
Preview
Supports
Markdown
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