Skip to content

Commit 4089db7

Browse files
committed
update package
1 parent cf22202 commit 4089db7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
1212
},
1313
"dependencies": {
14-
"@riophae/vue-treeselect": "^0.0.38",
15-
"axios": "^0.18.1",
14+
"@riophae/vue-treeselect": "^0.4.0",
15+
"axios": "^0.19.2",
1616
"brace": "^0.11.1",
1717
"echarts": "^4.7.0",
1818
"element-ui": "^2.13.0",
1919
"js-cookie": "^2.2.1",
2020
"mavon-editor": "^2.7.7",
21-
"normalize.css": "^7.0.0",
21+
"normalize.css": "^8.0.1",
2222
"nprogress": "^0.2.0",
23-
"path-to-regexp": "^2.4.0",
24-
"svg-sprite-loader": "4.1.6",
23+
"path-to-regexp": "^6.1.0",
24+
"svg-sprite-loader": "4.2.1",
2525
"vue": "^2.6.11",
2626
"vue-cron-generator": "^0.1.5",
27-
"vue-i18n": "^8.15.7",
27+
"vue-i18n": "^8.16.0",
2828
"vue-infinite-loading": "^2.4.5",
2929
"vue-router": "^3.1.6",
3030
"vue2-editor": "^2.10.2",
31-
"vue2-transitions": "^0.2.3",
31+
"vue2-transitions": "^0.3.0",
3232
"vuex": "^3.1.3"
3333
},
3434
"devDependencies": {
@@ -37,9 +37,9 @@
3737
"@vue/cli-service": "^4.2.3",
3838
"babel-eslint": "^10.1.0",
3939
"compression-webpack-plugin": "^3.1.0",
40-
"eslint": "^5.16.0",
41-
"eslint-plugin-vue": "^5.0.0",
42-
"html-webpack-plugin": "3.2.0",
40+
"eslint": "^6.8.0",
41+
"eslint-plugin-vue": "^6.2.2",
42+
"html-webpack-plugin": "4.0.3",
4343
"node-sass": "^4.13.1",
4444
"sass-loader": "^7.3.1",
4545
"script-ext-html-webpack-plugin": "^2.1.4",

src/layout/nav/BreadCrumb.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</template>
1111

1212
<script>
13-
import pathToRegexp from 'path-to-regexp'
13+
import {compile} from 'path-to-regexp'
1414
1515
export default {
1616
name: "breadcrumb",
@@ -37,7 +37,7 @@
3737
},
3838
pathCompile(path) {
3939
const {params} = this.$route;
40-
let toPath = pathToRegexp.compile(path);
40+
let toPath = compile(path);
4141
return toPath(params)
4242
},
4343
handleLink(item) {

0 commit comments

Comments
 (0)