1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-07 02:19:49 +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() { 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'