mirror of https://github.com/ElemeFE/element
move tease image to cdn
parent
32478a3b56
commit
aa40f5308d
|
@ -169,7 +169,7 @@
|
|||
:close-on-press-escape="false"
|
||||
:close-on-click-modal="false">
|
||||
<img
|
||||
src="~examples/assets/images/carbon-teaser.png"
|
||||
src="https://i.loli.net/2017/09/24/59c75f601d52b.png"
|
||||
class="carbon-teaser__main">
|
||||
<img
|
||||
@click="dialogVisible = false"
|
||||
|
@ -247,9 +247,11 @@
|
|||
|
||||
const intrigued = localStorage.getItem('CARBON_TEASER');
|
||||
if (!intrigued) {
|
||||
setTimeout(() => {
|
||||
const img = new Image();
|
||||
img.onload = () => {
|
||||
this.dialogVisible = true;
|
||||
}, 2000);
|
||||
};
|
||||
img.src = 'https://i.loli.net/2017/09/24/59c75f601d52b.png';
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 38 KiB |
Loading…
Reference in New Issue