mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-03-04 01:09:56 +08:00
fix: same text search on enter will cause error (#34)
* feat: add config to resolve path alias. * feat: use vue-i18n for language switch * feat: add .editorconfig for ide * fix: add no-referrer to avoid CROB * fix: setCookie and fix typo * feat: integrate vue-i18n * feat: player component i18n support * fix: duplicate key warning in explore page * fix: like songs number changed in library page * fire: remove todo * fix: same text search on enter will cause error
This commit is contained in:
parent
36faa33c5f
commit
580ed6b18a
@ -70,7 +70,8 @@ export default {
|
|||||||
else this.$router.go(1);
|
else this.$router.go(1);
|
||||||
},
|
},
|
||||||
goToSearchPage() {
|
goToSearchPage() {
|
||||||
if(!this.keywords) return;
|
if (!this.keywords) return;
|
||||||
|
if (this.$route.name === 'search' && this.$route.query.keywords === this.keywords) return;
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "search",
|
name: "search",
|
||||||
query: { keywords: this.keywords },
|
query: { keywords: this.keywords },
|
||||||
|
@ -57,7 +57,6 @@ export default {
|
|||||||
login: "Login",
|
login: "Login",
|
||||||
loginWithEmail: "Login with Email",
|
loginWithEmail: "Login with Email",
|
||||||
loginWithPhone: "Login with Phone",
|
loginWithPhone: "Login with Phone",
|
||||||
// TODO
|
|
||||||
notice: `YesPlayMusic promises not to save any of your account information to the cloud.<br />
|
notice: `YesPlayMusic promises not to save any of your account information to the cloud.<br />
|
||||||
Your password will be MD5 encrypted locally and then transmitted to NetEase Cloud API.<br />
|
Your password will be MD5 encrypted locally and then transmitted to NetEase Cloud API.<br />
|
||||||
YesPlayMusic is not the official website of NetEase Cloud Music, please consider carefully before entering account information. You can also go to <a href="https://github.com/qier222/YesPlayMusic">YesPlayMusic's GitHub repository</a> to build and use the self-hosted NetEase Cloud Music API.`
|
YesPlayMusic is not the official website of NetEase Cloud Music, please consider carefully before entering account information. You can also go to <a href="https://github.com/qier222/YesPlayMusic">YesPlayMusic's GitHub repository</a> to build and use the self-hosted NetEase Cloud Music API.`
|
||||||
|
@ -57,7 +57,6 @@ export default {
|
|||||||
login: "登录",
|
login: "登录",
|
||||||
loginWithEmail: "使用邮箱登录",
|
loginWithEmail: "使用邮箱登录",
|
||||||
loginWithPhone: "使用手机号登录",
|
loginWithPhone: "使用手机号登录",
|
||||||
// TODO
|
|
||||||
notice: `
|
notice: `
|
||||||
YesPlayMusic 承诺不会保存你的任何账号信息到云端。<br />
|
YesPlayMusic 承诺不会保存你的任何账号信息到云端。<br />
|
||||||
你的密码会在本地进行 MD5 加密后再传输到网易云 API。<br />
|
你的密码会在本地进行 MD5 加密后再传输到网易云 API。<br />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user