diff --git a/config/index.js b/config/index.js index 106eaa6..30dda44 100644 --- a/config/index.js +++ b/config/index.js @@ -33,7 +33,7 @@ // Use Eslint Loader? // If true, your code will be linted during bundling and // linting errors and warnings will be shown in the console. - useEslint: true, + useEslint: false, // If true, eslint errors and warnings will also be shown in the error overlay // in the browser. showEslintErrorsInOverlay: false, diff --git a/config/index.js b/config/index.js index 106eaa6..30dda44 100644 --- a/config/index.js +++ b/config/index.js @@ -33,7 +33,7 @@ // Use Eslint Loader? // If true, your code will be linted during bundling and // linting errors and warnings will be shown in the console. - useEslint: true, + useEslint: false, // If true, eslint errors and warnings will also be shown in the error overlay // in the browser. showEslintErrorsInOverlay: false, diff --git a/src/components/BigData/Card/index.vue b/src/components/BigData/Card/index.vue index 8320d47..8944b44 100644 --- a/src/components/BigData/Card/index.vue +++ b/src/components/BigData/Card/index.vue @@ -10,7 +10,7 @@
{{ context }} - {{unit}} + {{ unit }}
@@ -41,9 +41,9 @@ type: String, default: '#40c9c6' }, - unit:{ + unit: { type: String, - default:'' + default: '' } }, computed: { diff --git a/config/index.js b/config/index.js index 106eaa6..30dda44 100644 --- a/config/index.js +++ b/config/index.js @@ -33,7 +33,7 @@ // Use Eslint Loader? // If true, your code will be linted during bundling and // linting errors and warnings will be shown in the console. - useEslint: true, + useEslint: false, // If true, eslint errors and warnings will also be shown in the error overlay // in the browser. showEslintErrorsInOverlay: false, diff --git a/src/components/BigData/Card/index.vue b/src/components/BigData/Card/index.vue index 8320d47..8944b44 100644 --- a/src/components/BigData/Card/index.vue +++ b/src/components/BigData/Card/index.vue @@ -10,7 +10,7 @@
{{ context }} - {{unit}} + {{ unit }}
@@ -41,9 +41,9 @@ type: String, default: '#40c9c6' }, - unit:{ + unit: { type: String, - default:'' + default: '' } }, computed: { diff --git a/src/components/BigData/Card1/index.vue b/src/components/BigData/Card1/index.vue index 722c24c..748747b 100644 --- a/src/components/BigData/Card1/index.vue +++ b/src/components/BigData/Card1/index.vue @@ -4,7 +4,7 @@
-
+
-
+
{{ title[0] }} {{ context[0] }}{{unit}} + style="font-size: 10px;color:#888;margin-left: 5px">{{ unit }}
{{ title[1] }} {{ context[1] }}{{unit}} + style="font-size: 10px;color:#888;margin-left: 5px">{{ unit }}
-
+
{{ title[0] }}
- {{ context[0] }}{{unit}} + {{ context[0] }}{{ unit }}
@@ -36,46 +36,46 @@