ソースを参照

update beta notice

Leopoldthecoder 7 年 前
コミット
0099a3f283
2 ファイル変更6 行追加6 行削除
  1. 5 5
      examples/app.vue
  2. 1 1
      examples/index.tpl

+ 5 - 5
examples/app.vue

@@ -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'];
@@ -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);
             }
           });
         }

+ 1 - 1
examples/index.tpl

@@ -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/vue@2.3.0/dist/vue.runtime.min.js"></script>
     <script src="//cdn.jsdelivr.net/npm/vue-router@2.1.1/dist/vue-router.min.js"></script><% } %>
   </body>