1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-04 07:39:46 +08:00

fix importRoutes api

This commit is contained in:
Revantant 2019-07-17 16:13:49 +08:00
parent 13f597b3dd
commit 6082739de2

View File

@ -35,7 +35,7 @@ export default {
})
},
handleImport() {
Route.importRoutes(routes).then(res => {
Route.importRoutes({ routes }).then(res => {
this.$message({
type: 'success',
message: 'Import Success'