File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
examples/dist/image-picker Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Component({
46
46
value : false
47
47
} ,
48
48
// 是否可以预览
49
- isPreview : {
49
+ preview : {
50
50
type : Boolean ,
51
51
value : true
52
52
} ,
@@ -124,7 +124,7 @@ Component({
124
124
all : urls // 需要预览的图片http链接列表
125
125
} ;
126
126
let option = { } ;
127
- if ( this . data . isPreview === true ) {
127
+ if ( this . data . preview === true ) {
128
128
wx . previewImage ( {
129
129
current : tempFilePath , // 当前显示图片的http链接
130
130
urls : previewImageList // 需要预览的图片http链接列表
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Component({
46
46
value : false
47
47
} ,
48
48
// 是否可以预览
49
- isPreview : {
49
+ preview : {
50
50
type : Boolean ,
51
51
value : true
52
52
} ,
@@ -124,7 +124,7 @@ Component({
124
124
all : urls // 需要预览的图片http链接列表
125
125
} ;
126
126
let option = { } ;
127
- if ( this . data . isPreview === true ) {
127
+ if ( this . data . preview === true ) {
128
128
wx . previewImage ( {
129
129
current : tempFilePath , // 当前显示图片的http链接
130
130
urls : previewImageList // 需要预览的图片http链接列表
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Component({
46
46
value : false
47
47
} ,
48
48
// 是否可以预览
49
- isPreview : {
49
+ preview : {
50
50
type : Boolean ,
51
51
value : true
52
52
} ,
@@ -124,7 +124,7 @@ Component({
124
124
all : urls // 需要预览的图片http链接列表
125
125
} ;
126
126
let option = { } ;
127
- if ( this . data . isPreview === true ) {
127
+ if ( this . data . preview === true ) {
128
128
wx . previewImage ( {
129
129
current : tempFilePath , // 当前显示图片的http链接
130
130
urls : previewImageList // 需要预览的图片http链接列表
You can’t perform that action at this time.
0 commit comments