fix importRoutes api
This commit is contained in:
parent
13f597b3dd
commit
6082739de2
|
@ -35,7 +35,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleImport() {
|
handleImport() {
|
||||||
Route.importRoutes(routes).then(res => {
|
Route.importRoutes({ routes }).then(res => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: 'Import Success'
|
message: 'Import Success'
|
||||||
|
|
Loading…
Reference in New Issue