We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8490f1 commit ec6352aCopy full SHA for ec6352a
1 file changed
src/view/login/login.vue
@@ -20,6 +20,7 @@
20
21
<script>
22
import { mapActions, mapMutations } from 'vuex'
23
+import AppConfig from '@/config/index'
24
import User from '@/lin/model/user'
25
import Utils from '@/lin/util/util'
26
@@ -44,7 +45,7 @@ export default {
44
45
await User.getToken(username, password)
46
await this.getInformation()
47
this.loading = false
- this.$router.push('/about')
48
+ this.$router.push(AppConfig.defaultRoute)
49
this.$message.success('登录成功')
50
} catch (e) {
51
0 commit comments