diff --git a/src/assets/img/icon-yigouxuan.png b/src/assets/img/icon-yigouxuan.png deleted file mode 100644 index d1c0d1c..0000000 Binary files a/src/assets/img/icon-yigouxuan.png and /dev/null differ diff --git a/src/assets/img/icon_.png b/src/assets/img/icon_.png deleted file mode 100644 index 8fdbb02..0000000 Binary files a/src/assets/img/icon_.png and /dev/null differ diff --git a/src/assets/img/icon_1.png b/src/assets/img/icon_1.png deleted file mode 100644 index a134364..0000000 Binary files a/src/assets/img/icon_1.png and /dev/null differ diff --git a/src/assets/img/img.jpg b/src/assets/img/img.jpg deleted file mode 100644 index cbe6c00..0000000 Binary files a/src/assets/img/img.jpg and /dev/null differ diff --git a/src/assets/img/login-input.png b/src/assets/img/login-input.png deleted file mode 100644 index d6166fb..0000000 Binary files a/src/assets/img/login-input.png and /dev/null differ diff --git a/src/assets/template.xlsx b/src/assets/template.xlsx deleted file mode 100644 index b16a0c3..0000000 Binary files a/src/assets/template.xlsx and /dev/null differ diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 88d36cb..66ae7a1 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -92,9 +92,9 @@ export default { password: this.loginForm.password } this.login(data).then(() => { - this.$router.replace('/index') - }) - .catch(() => {}) + let redirect = decodeURIComponent(this.$route.query.redirect || '/') + this.$router.replace(redirect) + }).catch(() => {}) } }) } diff --git a/src/pages/quesBank/list/quesBankType.vue b/src/pages/quesBank/list/quesBankType.vue index 033c071..75fdd7b 100644 --- a/src/pages/quesBank/list/quesBankType.vue +++ b/src/pages/quesBank/list/quesBankType.vue @@ -25,7 +25,6 @@