登录不请求php登录接口
This commit is contained in:
@@ -179,9 +179,12 @@ export default {
|
|||||||
console.log(user)
|
console.log(user)
|
||||||
user.password = encrypt(user.password)
|
user.password = encrypt(user.password)
|
||||||
this.$store.dispatch('Login', user).then(() => {
|
this.$store.dispatch('Login', user).then(() => {
|
||||||
$douyin_checkIn({
|
if (localStorage.getItem("shopName") != 'admin') {
|
||||||
loginName:user.username
|
$douyin_checkIn({
|
||||||
})
|
loginName: user.username
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
this.loading = false
|
this.loading = false
|
||||||
// 保存商户号
|
// 保存商户号
|
||||||
localStorage.setItem('MerchantId', JSON.stringify({
|
localStorage.setItem('MerchantId', JSON.stringify({
|
||||||
|
|||||||
Reference in New Issue
Block a user