chore: fix release
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 @@
.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 * 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 @@
return td;
}
-let table: Handsontable;
+let table;
let debouncedTableChange: _.DebouncedFunc<() => void>;
export default defineComponent({