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-press-escape="false"
|
||||||
:close-on-click-modal="false">
|
:close-on-click-modal="false">
|
||||||
<img
|
<img
|
||||||
src="~examples/assets/images/carbon-teaser.png"
|
src="https://i.loli.net/2017/09/24/59c75f601d52b.png"
|
||||||
class="carbon-teaser__main">
|
class="carbon-teaser__main">
|
||||||
<img
|
<img
|
||||||
@click="dialogVisible = false"
|
@click="dialogVisible = false"
|
||||||
|
@ -247,9 +247,11 @@
|
||||||
|
|
||||||
const intrigued = localStorage.getItem('CARBON_TEASER');
|
const intrigued = localStorage.getItem('CARBON_TEASER');
|
||||||
if (!intrigued) {
|
if (!intrigued) {
|
||||||
setTimeout(() => {
|
const img = new Image();
|
||||||
|
img.onload = () => {
|
||||||
this.dialogVisible = true;
|
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