diff --git a/build/webpack.config.js b/build/webpack.config.js index f448544d..451c22a4 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -6,17 +6,17 @@ const { VueLoaderPlugin } = require('vue-loader') const libMode = process.env.LIBMODE const isFullMode = libMode === 'full' -let externals = [ +const externals = [ { vue: { root: 'Vue', commonjs: 'vue', - commonjs2: 'vue', - }, - }, + commonjs2: 'vue' + } + } ] const plugins = [ - new VueLoaderPlugin(), + new VueLoaderPlugin() // new BundleAnalyzerPlugin(), ] @@ -50,20 +50,21 @@ const config = { rules: [ { test: /\.vue$/, - use: 'vue-loader', + use: 'vue-loader' }, { test: /\.(ts|js)x?$/, exclude: /node_modules/, - loader: 'babel-loader', - }, - ], + loader: 'babel-loader' + } + ] }, resolve: { - extensions: ['.ts', '.tsx', '.js', '.json'], + extensions: ['.ts', '.tsx', '.js', '.json'] }, + cache: true, externals, - plugins, + plugins } module.exports = config diff --git a/src/assets/css/common.scss b/src/assets/css/common.scss index dc43eb28..716866eb 100644 --- a/src/assets/css/common.scss +++ b/src/assets/css/common.scss @@ -60,3 +60,7 @@ th *:first-letter, height: 100%; width: 100%; } + +.el-table__empty-block { + width: 100% !important; +} diff --git a/src/components/charts/ChartTable.vue b/src/components/charts/ChartTable.vue index 87551a5f..70fe5a0a 100644 --- a/src/components/charts/ChartTable.vue +++ b/src/components/charts/ChartTable.vue @@ -45,7 +45,7 @@