From c22d539eb523acb1a2847768efdecc38743fc7e6 Mon Sep 17 00:00:00 2001
From: huyanyawei <junwei.hu@teamar.cn>
Date: Mon, 18 Mar 2019 14:52:47 +0800
Subject: [PATCH] =?UTF-8?q?ie=E5=85=BC=E5=AE=B9=E6=80=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 babel.config.js | 10 ++++++++++
 package.json    |  1 +
 vue.config.js   |  1 +
 3 files changed, 12 insertions(+)
 create mode 100644 babel.config.js

diff --git a/babel.config.js b/babel.config.js
new file mode 100644
index 000000000..c00172a4e
--- /dev/null
+++ b/babel.config.js
@@ -0,0 +1,10 @@
+module.exports = {
+    presets: [
+        [
+            '@vue/app',
+            {
+                useBuiltIns: 'entry'
+            },
+        ]
+    ],
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index 646dd75e9..35e8f3c33 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
     "test:e2e": "vue-cli-service test:e2e"
   },
   "dependencies": {
+    "@babel/polyfill": "^7.2.5",
     "axios": "^0.18.0",
     "clipboard": "^2.0.0",
     "codemirror": "^5.38.0",
diff --git a/vue.config.js b/vue.config.js
index 5d6c1d405..253807ba5 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -28,6 +28,7 @@ module.exports = {
   // tweak internal webpack configuration.
   // see https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md
   // 如果你不需要使用eslint,把lintOnSave设为false即可
+  transpileDependencies: ['tree-table-vue','tree-table-vue/*','iview'],
   lintOnSave: true,
   chainWebpack: config => {
     config.resolve.alias