跨域代理
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<div class="fxrow check-box">
|
||||
<i class="icon-name-check" :class="{'icon-name-checked': memberName}" @click="Remember"></i>
|
||||
<span class="fxcol">记住用户名</span>
|
||||
<router-link :to="{path: '/setup'}" class="fxcol" style="text-align:right;color:#6798ef">设置</router-link>
|
||||
<!-- <router-link :to="{path: '/setup'}" class="fxcol" style="text-align:right;color:#6798ef">设置</router-link> -->
|
||||
</div>
|
||||
<button class="login-btn" :disabled="disabled" @click="_Login">确认登录</button>
|
||||
</section>
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
<script>
|
||||
import {rfLogin} from '@config/getData2'
|
||||
import {encrypt} from '../../main.js'
|
||||
// import {encrypt} from '../../main.js'
|
||||
export default {
|
||||
name: 'Login',
|
||||
data () {
|
||||
@@ -52,7 +52,7 @@ export default {
|
||||
},
|
||||
async rfLogin () {
|
||||
try {
|
||||
let res = await rfLogin(this.loginname, encrypt(this.password))
|
||||
let res = await rfLogin(this.loginname, this.password)
|
||||
if (res.ErrNO === '1') {
|
||||
let obj = {}
|
||||
if (this.memberName) {
|
||||
|
||||
Reference in New Issue
Block a user