|
@@ -245,7 +245,6 @@ export default {
|
|
// 登录按钮点击
|
|
// 登录按钮点击
|
|
submitForm() {
|
|
submitForm() {
|
|
this.btnLoading = true;
|
|
this.btnLoading = true;
|
|
- Storage.setCookie('X-Forwarded-For',null)
|
|
|
|
this.$api.adminLogin(this.ruleForm).then(async response => {
|
|
this.$api.adminLogin(this.ruleForm).then(async response => {
|
|
Storage.setStr('username', this.ruleForm.username)
|
|
Storage.setStr('username', this.ruleForm.username)
|
|
Storage.setStr('password', this.ruleForm.password)
|
|
Storage.setStr('password', this.ruleForm.password)
|