|
|
@@ -10,7 +10,6 @@ import store from '@/store'
|
|
|
export const userMixin = {
|
|
|
data() {
|
|
|
return {
|
|
|
- devops: false,
|
|
|
pubkey: '',
|
|
|
pubkeyR: '',
|
|
|
captchaCode: '',
|
|
|
@@ -169,7 +168,8 @@ export const userMixin = {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- if (!this.devops) {
|
|
|
+ const devops = process.env.VUE_APP_DEVOPS
|
|
|
+ if (!devops) {
|
|
|
if (this.userLogin.captchaCode === '' || this.userLogin.captchaCode === null) {
|
|
|
this.$message.warning('图形验证码不能为空')
|
|
|
return
|