From 6082739de298c698f5bad0033493996d01af2bef Mon Sep 17 00:00:00 2001 From: Revantant Date: Wed, 17 Jul 2019 16:13:49 +0800 Subject: [PATCH] fix importRoutes api --- src/views/permission/route.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'