mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
add .editorconfig for better coding (#14)
* feat: add config to resolve path alias. * feat: add .editorconfig for ide * fix: add no-referrer to avoid CROB * fix: setCookie and fix typo
This commit is contained in:
parent
a2e901802c
commit
c39bea4a4a
3 changed files with 11 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue