Skip to content

Commit

Permalink
random image url modified
Browse files Browse the repository at this point in the history
  • Loading branch information
mirari committed Sep 2, 2019
1 parent 7dbe01f commit 0d30e83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/views/example/ComponentExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ const sourceImages = []
const base = parseInt((Math.random() * 60), 10) + 10
for (let i = 0; i < 10; i++) {
sourceImages.push({
thumbnail: 'https://picsum.photos/346/216/?image=' + (base + i),
source: 'https://picsum.photos/1440/900/?image=' + (base + i)
thumbnail: `https://picsum.photos/id/${base + i}/346/216`,
source: `https://picsum.photos/id/${base + i}/1440/900`
})
}
Expand Down
4 changes: 2 additions & 2 deletions example/views/example/DirectiveExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const sourceImages = []
const base = parseInt((Math.random() * 60), 10) + 10
for (let i = 0; i < 10; i++) {
sourceImages.push({
thumbnail: 'https://picsum.photos/346/216/?image=' + (base + i),
source: 'https://picsum.photos/1440/900/?image=' + (base + i)
thumbnail: `https://picsum.photos/id/${base + i}/346/216`,
source: `https://picsum.photos/id/${base + i}/1440/900`
})
}
Expand Down

0 comments on commit 0d30e83

Please sign in to comment.