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 992046f  fix building
992046f is described below

commit 992046f8e454093cd10053fdd1652ddd22c86c12
Author: Ovilia <zwl.s...@gmail.com>
AuthorDate: Fri Feb 18 17:53:27 2022 +0800

    fix building
---
 src/components/BBody.vue  | 2 +-
 src/components/BTable.vue | 4 ++--
 tsconfig.json             | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/components/BBody.vue b/src/components/BBody.vue
index 16e5b7f..4033af5 100644
--- a/src/components/BBody.vue
+++ b/src/components/BBody.vue
@@ -197,7 +197,7 @@ import expectancy from '../data/expectancy';
 export default defineComponent({
     name: 'BBody',
     data() {
-        const i18n = this.$$i18n as any;
+        const i18n = this.$i18n as any;
         return {
             selectedDemo: 'complicated',
             demoData: expectancy,
diff --git a/src/components/BTable.vue b/src/components/BTable.vue
index f3c7383..d698638 100644
--- a/src/components/BTable.vue
+++ b/src/components/BTable.vue
@@ -11,9 +11,9 @@
 <script lang='ts'>
 import {defineComponent} from 'vue';
 import * as _ from 'lodash';
-import * as Color from 'color';
+import Color from 'color';
 
-import * as Handsontable from 'handsontable';
+import Handsontable from 'handsontable';
 import handsomeZh from '../i18n/handsometable-zh-CN';
 Handsontable.languages.registerLanguageDictionary(handsomeZh);
 
diff --git a/tsconfig.json b/tsconfig.json
index 47c9953..8fd5f33 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,9 +9,9 @@
         "moduleResolution": "node",
         "target": "es5",
         "allowJs": true,
+        "esModuleInterop": true,
+        "allowSyntheticDefaultImports": true
     },
     "include": ["src/**/*"],
-    "exclude": ["node_modules"],
-    "esModuleInterop": true,
-    "allowSyntheticDefaultImports": true
+    "exclude": ["node_modules"]
 }
\ No newline at end of file

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

Reply via email to