From 54e9372d79e43404a48dc9e37596d458c81149e6 Mon Sep 17 00:00:00 2001 From: johnniang Date: Mon, 29 Apr 2019 19:28:34 +0800 Subject: [PATCH] Fix installation bug --- src/views/system/Installation.vue | 2 +- src/views/user/Login.vue | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/system/Installation.vue b/src/views/system/Installation.vue index b29236cf..4f7a54ec 100644 --- a/src/views/system/Installation.vue +++ b/src/views/system/Installation.vue @@ -275,7 +275,7 @@ export default { } // Handle migration - if (this.migrationFile) { + if (this.migrationData) { recoveryApi.migrate(this.migrationData).then(response => { this.$log.debug('Migrated successfullly') this.$message.success('数据迁移成功') diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 9a97ba24..902367cd 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -9,7 +9,13 @@ class="animated fadeInUp" :style="{'animation-delay': '0.1s'}" > - + + + + > + +