diff --git a/aurora-vue/aurora-admin/public/index.html b/aurora-vue/aurora-admin/public/index.html
index a9a0578..f4c2c00 100644
--- a/aurora-vue/aurora-admin/public/index.html
+++ b/aurora-vue/aurora-admin/public/index.html
@@ -7,7 +7,6 @@
后台管理系统
-
diff --git a/aurora-vue/aurora-admin/src/assets/js/config.js b/aurora-vue/aurora-admin/src/assets/js/config.js
index 795683f..c01a305 100644
--- a/aurora-vue/aurora-admin/src/assets/js/config.js
+++ b/aurora-vue/aurora-admin/src/assets/js/config.js
@@ -1,4 +1,3 @@
export default {
- TENCENT_CAPTCHA: '2091489673',
UPLOAD_SIZE: 200
}
diff --git a/aurora-vue/aurora-admin/src/views/login/Login.vue b/aurora-vue/aurora-admin/src/views/login/Login.vue
index 315a5cb..8d528ba 100644
--- a/aurora-vue/aurora-admin/src/views/login/Login.vue
+++ b/aurora-vue/aurora-admin/src/views/login/Login.vue
@@ -44,24 +44,19 @@ export default {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
const that = this
- var captcha = new TencentCaptcha(this.config.TENCENT_CAPTCHA, function (res) {
- if (res.ret === 0) {
- let param = new URLSearchParams()
- param.append('username', that.loginForm.username)
- param.append('password', that.loginForm.password)
- that.axios.post('/api/users/login', param).then(({ data }) => {
- if (data.flag) {
- that.$store.commit('login', data.data)
- generaMenu()
- that.$message.success('登录成功')
- that.$router.push({ path: '/' })
- } else {
- that.$message.error(data.message)
- }
- })
+ let param = new URLSearchParams()
+ param.append('username', that.loginForm.username)
+ param.append('password', that.loginForm.password)
+ that.axios.post('/api/users/login', param).then(({ data }) => {
+ if (data.flag) {
+ that.$store.commit('login', data.data)
+ generaMenu()
+ that.$message.success('登录成功')
+ that.$router.push({ path: '/' })
+ } else {
+ that.$message.error(data.message)
}
})
- captcha.show()
} else {
return false
}
diff --git a/aurora-vue/aurora-blog/public/index.html b/aurora-vue/aurora-blog/public/index.html
index bf8a303..db175ef 100644
--- a/aurora-vue/aurora-blog/public/index.html
+++ b/aurora-vue/aurora-blog/public/index.html
@@ -7,7 +7,6 @@
-