mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix: setCookie and fix typo
This commit is contained in:
parent
915fa386a7
commit
19a5269d5c
1 changed files with 2 additions and 1 deletions
|
|
@ -112,6 +112,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
...mapMutations(["updateUser", "updateUserInfo"]),
|
...mapMutations(["updateUser", "updateUserInfo"]),
|
||||||
afterLogin() {
|
afterLogin() {
|
||||||
|
Cookies.set("MUSIC_U", true, { expires: 3650 });
|
||||||
Cookies.set("loginMode", "account", { expires: 3650 });
|
Cookies.set("loginMode", "account", { expires: 3650 });
|
||||||
userPlaylist({
|
userPlaylist({
|
||||||
uid: this.$store.state.settings.user.userId,
|
uid: this.$store.state.settings.user.userId,
|
||||||
|
|
@ -128,7 +129,7 @@ export default {
|
||||||
this.processing = true;
|
this.processing = true;
|
||||||
if (this.mode === "phone") {
|
if (this.mode === "phone") {
|
||||||
if (
|
if (
|
||||||
this.countrycode === "" ||
|
this.countryCode === "" ||
|
||||||
this.phone === "" ||
|
this.phone === "" ||
|
||||||
this.password === ""
|
this.password === ""
|
||||||
) {
|
) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue