Skip to content

Commit fb06658

Browse files
committedDec 17, 2018
fixed some issue
1 parent 29234ef commit fb06658

File tree

2 files changed

+62
-62
lines changed

2 files changed

+62
-62
lines changed
 

‎package.json

+53-53
Original file line numberDiff line numberDiff line change
@@ -18,86 +18,86 @@
1818
"lodash.truncate": "^4.4.2",
1919
"nprogress": "^0.2.0",
2020
"quill": "^1.3.6",
21-
"vee-validate": "^2.0.9",
21+
"vee-validate": "^2.1.4",
2222
"vue": "^2.5.21",
2323
"vue-fullcalendar": "^1.0.9",
2424
"vue-perfect-scrollbar": "^0.1.0",
2525
"vue-quill-editor": "^3.0.6",
2626
"vue-resize": "^0.4.4",
27-
"vue-router": "^3.0.1",
27+
"vue-router": "^3.0.2",
2828
"vuetify": "^1.3.14"
2929
},
3030
"devDependencies": {
31-
"autoprefixer": "^7.1.2",
31+
"autoprefixer": "^9.4.3",
3232
"babel-core": "^6.26.3",
33-
"babel-eslint": "^8.2.3",
33+
"babel-eslint": "^10.0.1",
3434
"babel-helper-vue-jsx-merge-props": "^2.0.3",
35-
"babel-jest": "^21.0.2",
36-
"babel-loader": "^7.1.4",
37-
"babel-plugin-dynamic-import-node": "^1.2.0",
35+
"babel-jest": "^23.6.0",
36+
"babel-loader": "^8.0.4",
37+
"babel-plugin-dynamic-import-node": "^2.2.0",
3838
"babel-plugin-syntax-dynamic-import": "^6.18.0",
3939
"babel-plugin-syntax-jsx": "^6.18.0",
4040
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
41-
"babel-plugin-transform-runtime": "^6.22.0",
41+
"babel-plugin-transform-runtime": "^6.23.0",
4242
"babel-plugin-transform-vue-jsx": "^3.7.0",
4343
"babel-preset-env": "^1.7.0",
44-
"babel-preset-stage-2": "^6.22.0",
45-
"babel-register": "^6.22.0",
44+
"babel-preset-stage-2": "^6.24.1",
45+
"babel-register": "^6.26.0",
4646
"chalk": "^2.4.1",
47-
"chromedriver": "^2.38.3",
48-
"copy-webpack-plugin": "^4.5.1",
49-
"cross-spawn": "^5.0.1",
50-
"css-loader": "^0.28.11",
51-
"eslint": "^4.19.1",
47+
"chromedriver": "^2.45.0",
48+
"copy-webpack-plugin": "^4.6.0",
49+
"cross-spawn": "^6.0.5",
50+
"css-loader": "^2.0.1",
51+
"eslint": "^5.10.0",
5252
"eslint-config-alloy": "^1.4.2",
53-
"eslint-config-standard": "^10.2.1",
54-
"eslint-friendly-formatter": "^3.0.0",
55-
"eslint-loader": "^1.7.1",
56-
"eslint-plugin-import": "^2.11.0",
57-
"eslint-plugin-node": "^5.2.0",
58-
"eslint-plugin-promise": "^3.7.0",
59-
"eslint-plugin-standard": "^3.1.0",
60-
"eslint-plugin-vue": "^4.5.0",
61-
"extract-text-webpack-plugin": "^3.0.0",
53+
"eslint-config-standard": "^12.0.0",
54+
"eslint-friendly-formatter": "^4.0.1",
55+
"eslint-loader": "^2.1.1",
56+
"eslint-plugin-import": "^2.14.0",
57+
"eslint-plugin-node": "^8.0.0",
58+
"eslint-plugin-promise": "^4.0.1",
59+
"eslint-plugin-standard": "^4.0.0",
60+
"eslint-plugin-vue": "^5.0.0",
61+
"extract-text-webpack-plugin": "^3.0.2",
6262
"faker": "^4.1.0",
63-
"file-loader": "^1.1.11",
63+
"file-loader": "^2.0.0",
6464
"friendly-errors-webpack-plugin": "^1.7.0",
6565
"fs-finder": "^1.8.1",
66-
"html-webpack-plugin": "^2.30.1",
67-
"jest": "^22.4.3",
68-
"jest-serializer-vue": "^0.3.0",
66+
"html-webpack-plugin": "^3.2.0",
67+
"jest": "^23.6.0",
68+
"jest-serializer-vue": "^2.0.2",
6969
"json-schema-faker": "^0.5.0-rc9",
70-
"json-server": "^0.12.2",
70+
"json-server": "^0.14.0",
7171
"less-loader": "^4.1.0",
72-
"mime-types": "^2.1.18",
72+
"mime-types": "^2.1.21",
7373
"mockjs": "^1.0.1-beta3",
7474
"mockjs-webpack-plugin": "^1.0.0",
75-
"nightwatch": "^0.9.21",
75+
"nightwatch": "^1.0.16",
7676
"node-dir": "^0.1.17",
77-
"node-notifier": "^5.1.2",
78-
"optimize-css-assets-webpack-plugin": "^3.2.0",
79-
"ora": "^1.2.0",
80-
"portfinder": "^1.0.13",
81-
"postcss-import": "^11.0.0",
82-
"postcss-loader": "^2.1.5",
83-
"postcss-url": "^7.3.2",
84-
"raw-loader": "^0.5.1",
85-
"rimraf": "^2.6.0",
86-
"selenium-server": "^3.12.0",
87-
"semver": "^5.3.0",
88-
"shelljs": "^0.7.6",
77+
"node-notifier": "^5.3.0",
78+
"optimize-css-assets-webpack-plugin": "^5.0.1",
79+
"ora": "^3.0.0",
80+
"portfinder": "^1.0.20",
81+
"postcss-import": "^12.0.1",
82+
"postcss-loader": "^3.0.0",
83+
"postcss-url": "^8.0.0",
84+
"raw-loader": "^1.0.0",
85+
"rimraf": "^2.6.2",
86+
"selenium-server": "^3.141.59",
87+
"semver": "^5.6.0",
88+
"shelljs": "^0.8.3",
8989
"stylus": "^0.54.5",
9090
"stylus-loader": "^3.0.2",
91-
"uglifyjs-webpack-plugin": "^1.2.5",
92-
"url-loader": "^0.5.8",
93-
"vue-jest": "^1.0.2",
94-
"vue-loader": "^13.3.0",
95-
"vue-style-loader": "^3.0.1",
96-
"vue-template-compiler": "^2.5.16",
97-
"webpack": "^3.12.0",
98-
"webpack-bundle-analyzer": "^2.12.0",
99-
"webpack-dev-server": "^2.9.1",
100-
"webpack-merge": "^4.1.0"
91+
"uglifyjs-webpack-plugin": "^2.0.1",
92+
"url-loader": "^1.1.2",
93+
"vue-jest": "^3.0.2",
94+
"vue-loader": "^15.4.2",
95+
"vue-style-loader": "^4.1.2",
96+
"vue-template-compiler": "^2.5.21",
97+
"webpack": "^4.27.1",
98+
"webpack-bundle-analyzer": "^3.0.3",
99+
"webpack-dev-server": "^3.1.10",
100+
"webpack-merge": "^4.1.5"
101101
},
102102
"engines": {
103103
"node": ">= 6.0.0",

‎src/pages/widgets/Chart.vue

+9-9
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<div class="caption"> <v-icon>trending_up</v-icon> 20%</div>
119119
</div>
120120
</v-card-title>
121-
<v-card-media class="white--text">
121+
<v-responsive class="white--text">
122122
<e-chart
123123
ref="chart"
124124
:path-option="[
@@ -139,7 +139,7 @@
139139
width="100%"
140140
>
141141
</e-chart>
142-
</v-card-media>
142+
</v-responsive>
143143
<v-card-text class="white">
144144
<div class="layout row align-center ma-0">
145145
<div class="grey--text">
@@ -171,7 +171,7 @@
171171
<div class="caption"> <v-icon>trending_up</v-icon> 20%</div>
172172
</div>
173173
</v-card-title>
174-
<v-card-media
174+
<v-responsive
175175
class="white--text"
176176
>
177177
<e-chart
@@ -188,7 +188,7 @@
188188
width="100%"
189189
>
190190
</e-chart>
191-
</v-card-media>
191+
</v-responsive>
192192
<v-card-text class="white">
193193
<div class="layout row align-center ma-0">
194194
<div class="grey--text">
@@ -220,7 +220,7 @@
220220
<div class="caption"> <v-icon>trending_up</v-icon> 20%</div>
221221
</div>
222222
</v-card-title>
223-
<v-card-media
223+
<v-responsive
224224
>
225225
<e-chart
226226
:path-option="[
@@ -239,7 +239,7 @@
239239
width="100%"
240240
>
241241
</e-chart>
242-
</v-card-media>
242+
</v-responsive>
243243
<v-card-text class="white">
244244
<div class="layout row align-center ma-0">
245245
<div class="grey--text">
@@ -305,15 +305,15 @@
305305
</v-widget>
306306
</v-flex>
307307
<v-flex lg12 sm12>
308-
<v-tabs v-model="selectedTab" @input="handleTabChange">
308+
<v-tabs v-model="selectedTab" @change="handleTabChange">
309309
<v-tab ripple href="#tab-1">
310310
Sales
311311
</v-tab>
312312
<v-tab ripple href="#tab-2">
313313
Visit
314314
</v-tab>
315315
<v-tabs-items v-model="selectedTab">
316-
<v-tab-item id="tab-1" class="d-block">
316+
<v-tab-item value="tab-1" class="d-block">
317317
<v-card>
318318
<e-chart
319319
:path-option="[
@@ -328,7 +328,7 @@
328328
</e-chart>
329329
</v-card>
330330
</v-tab-item>
331-
<v-tab-item id="tab-2">
331+
<v-tab-item value="tab-2">
332332
<v-card>
333333
<e-chart
334334
:path-option="[

0 commit comments

Comments
 (0)
Please sign in to comment.