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:
parent
13f597b3dd
commit
6082739de2
@ -35,7 +35,7 @@ export default {
|
||||
})
|
||||
},
|
||||
handleImport() {
|
||||
Route.importRoutes(routes).then(res => {
|
||||
Route.importRoutes({ routes }).then(res => {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: 'Import Success'
|
||||
|
Loading…
x
Reference in New Issue
Block a user