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
master
Hawtim Zhang 4 years ago committed by GitHub
parent 36faa33c5f
commit 580ed6b18a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,8 @@ export default {
else this.$router.go(1);
},
goToSearchPage() {
if(!this.keywords) return;
if (!this.keywords) return;
if (this.$route.name === 'search' && this.$route.query.keywords === this.keywords) return;
this.$router.push({
name: "search",
query: { keywords: this.keywords },

@ -57,7 +57,6 @@ export default {
login: "Login",
loginWithEmail: "Login with Email",
loginWithPhone: "Login with Phone",
// TODO
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 />
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: "登录",
loginWithEmail: "使用邮箱登录",
loginWithPhone: "使用手机号登录",
// TODO
notice: `
YesPlayMusic 承诺不会保存你的任何账号信息到云端<br />
你的密码会在本地进行 MD5 加密后再传输到网易云 API<br />

Loading…
Cancel
Save