This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-bar-racing.git


The following commit(s) were added to refs/heads/master by this push:
     new a3a7d94  chore: fix release
a3a7d94 is described below

commit a3a7d94b5fdaddbc12489f2f70b4c83092976d19
Author: Ovilia <zwl.s...@gmail.com>
AuthorDate: Fri Feb 18 19:52:52 2022 +0800

    chore: fix release
---
 _body.html                | 5 +++++
 index.html                | 3 ++-
 src/App.vue               | 1 +
 src/components/BTable.vue | 4 ++--
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/_body.html b/_body.html
index fddd0ab..6587141 100644
--- a/_body.html
+++ b/_body.html
@@ -1,3 +1,8 @@
 <!-- Body HTML that will be final deployed -->
+<link 
href="https://cdn.jsdelivr.net/npm/handsontable@6.2.2/dist/handsontable.min.css";
 rel="stylesheet" media="screen">
+
 <div id="echarts-spa-app"></div>
+
+<script 
src="https://cdn.jsdelivr.net/npm/handsontable@6.2.2/dist/handsontable.min.js";></script>
+
 <script type="module" src="./src/main.ts"></script>
diff --git a/index.html b/index.html
index 725bacc..fb9c74f 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,6 @@
         <link rel="icon" href="/favicon.ico" />
         <meta name="viewport" content="width=device-width, initial-scale=1.0" 
/>
         <title>ECharts WWW SPA Boilerplate</title>
-        <link rel="stylesheet" 
href="https://cdn.jsdelivr.net/npm/handsontable@6.2.2/dist/handsontable.css";>
         <style>
             body {
                 padding: 0;
@@ -41,6 +40,7 @@
                 height: 100%;
             }
         </style>
+        <link 
href="https://cdn.jsdelivr.net/npm/handsontable@6.2.2/dist/handsontable.full.min.css";
 rel="stylesheet" media="screen">
     </head>
     <body>
         <div id="header">
@@ -69,6 +69,7 @@
                 document.querySelector('#header .lang').href = 
'index.html?locale=' + otherLocale;
             })();
         </script>
+        <script 
src="https://cdn.jsdelivr.net/npm/handsontable@6.2.2/dist/handsontable.min.js";></script>
         <script type="module" src="./src/main.ts"></script>
     </body>
 </html>
diff --git a/src/App.vue b/src/App.vue
index 77b2d87..7402473 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -29,6 +29,7 @@ import BBody from './components/BBody.vue';
 
 .el-container {
     height: 100%;
+    margin-top: -50px;
 }
 
 .el-main {
diff --git a/src/components/BTable.vue b/src/components/BTable.vue
index d698638..7c85ca5 100644
--- a/src/components/BTable.vue
+++ b/src/components/BTable.vue
@@ -13,7 +13,7 @@ import {defineComponent} from 'vue';
 import * as _ from 'lodash';
 import Color from 'color';
 
-import Handsontable from 'handsontable';
+declare const Handsontable;
 import handsomeZh from '../i18n/handsometable-zh-CN';
 Handsontable.languages.registerLanguageDictionary(handsomeZh);
 
@@ -35,7 +35,7 @@ function colorRenderer(instance, td, row, col, prop, value) {
     return td;
 }
 
-let table: Handsontable;
+let table;
 let debouncedTableChange: _.DebouncedFunc<() => void>;
 
 export default defineComponent({

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to