File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div ref =" container" id =" picture-input" class =" picture-input" >
3
- <div v-if =" !supportsUpload" >
4
- <p v-html =" strings.upload" ></p >
5
- </div >
3
+ <div v-if =" !supportsUpload" v-html =" strings.upload" ></div >
6
4
<div v-else-if =" supportsPreview" >
7
5
<div class =" preview-container"
8
6
:style =" {maxWidth: previewWidth + 'px', height: previewHeight + 'px'}" >
@@ -70,7 +68,7 @@ export default {
70
68
strings: {
71
69
default : function () {
72
70
return {
73
- upload: ' Your device does not support file uploading.' ,
71
+ upload: ' <p> Your device does not support file uploading.</p> ' ,
74
72
drag: ' Drag an image or <br>click here to select a file' ,
75
73
tap: ' Tap here to select a photo <br>from your gallery' ,
76
74
change: ' Change Photo' ,
You can’t perform that action at this time.
0 commit comments