diff --git a/src/views/permission/route.vue b/src/views/permission/route.vue index 8909b6f0..2c5ddbba 100644 --- a/src/views/permission/route.vue +++ b/src/views/permission/route.vue @@ -35,7 +35,7 @@ export default { }) }, handleImport() { - Route.importRoutes(routes).then(res => { + Route.importRoutes({ routes }).then(res => { this.$message({ type: 'success', message: 'Import Success'