mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 13:36:20 +08:00
fix: setCookie and fix typo
This commit is contained in:
parent
915fa386a7
commit
19a5269d5c
|
@ -112,6 +112,7 @@ export default {
|
|||
methods: {
|
||||
...mapMutations(["updateUser", "updateUserInfo"]),
|
||||
afterLogin() {
|
||||
Cookies.set("MUSIC_U", true, { expires: 3650 });
|
||||
Cookies.set("loginMode", "account", { expires: 3650 });
|
||||
userPlaylist({
|
||||
uid: this.$store.state.settings.user.userId,
|
||||
|
@ -128,7 +129,7 @@ export default {
|
|||
this.processing = true;
|
||||
if (this.mode === "phone") {
|
||||
if (
|
||||
this.countrycode === "" ||
|
||||
this.countryCode === "" ||
|
||||
this.phone === "" ||
|
||||
this.password === ""
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user