登录不请求php登录接口

This commit is contained in:
魏啾
2024-12-10 15:16:06 +08:00
parent ac74254ed5
commit 1bd0b0daa9

View File

@@ -179,9 +179,12 @@ export default {
console.log(user)
user.password = encrypt(user.password)
this.$store.dispatch('Login', user).then(() => {
$douyin_checkIn({
loginName:user.username
})
if (localStorage.getItem("shopName") != 'admin') {
$douyin_checkIn({
loginName: user.username
})
}
this.loading = false
// 保存商户号
localStorage.setItem('MerchantId', JSON.stringify({