Skip to content

Commit

Permalink
update beta notice
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Oct 20, 2017
1 parent f0a85b8 commit 0099a3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions examples/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@
this.renderAnchorHref();
this.goAnchor();
setTimeout(() => {
const notified = localStorage.getItem('ALPHA_NOTIFIED');
const notified = localStorage.getItem('BETA_NOTIFIED');
if (!notified) {
const h = this.$createElement;
const title = this.lang === 'zh-CN'
? '2.0.0 Alpha 发布'
: '2.0.0 Alpha released';
? '2.0.0 Beta 发布'
: '2.0.0 Beta released';
const messages = this.lang === 'zh-CN'
? ['点击', '这里', '查看详情']
: ['Click ', 'here', ' to learn more'];
Expand All @@ -217,13 +217,13 @@
h('a', {
attrs: {
target: '_blank',
href: `https://github.com/ElemeFE/element/issues/${ this.lang === 'zh-CN' ? '7304' : '7305' }`
href: `https://github.com/ElemeFE/element/issues/${ this.lang === 'zh-CN' ? '7612' : '7613' }`
}
}, messages[1]),
messages[2]
]),
onClose() {
localStorage.setItem('ALPHA_NOTIFIED', 1);
localStorage.setItem('BETA_NOTIFIED', 1);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion examples/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<div id="app"></div><% if (process.env.NODE_ENV === 'production') { %>
<script src="https://app.codesponsor.io/scripts/qFcVkt4f3DQEg4zrwINGVg?theme=light&height=250&width=240"></script>
<!--<script src="https://app.codesponsor.io/scripts/qFcVkt4f3DQEg4zrwINGVg?theme=light&height=250&width=240"></script>-->
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/vue.runtime.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/vue-router.min.js"></script><% } %>
</body>
Expand Down

0 comments on commit 0099a3f

Please sign in to comment.