mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix: Add new localizations (#722)
Co-authored-by: bakerbunker <bakerbunker@nwpu.edu.cn>
This commit is contained in:
parent
5869f889f9
commit
347bc1665d
11 changed files with 40 additions and 17 deletions
|
|
@ -35,6 +35,7 @@
|
|||
import { mvDetail, mvUrl, simiMv, likeAMV } from '@/api/mv';
|
||||
import { isAccountLoggedIn } from '@/utils/auth';
|
||||
import NProgress from 'nprogress';
|
||||
import locale from '@/locale';
|
||||
import '@/assets/css/plyr.css';
|
||||
import Plyr from 'plyr';
|
||||
|
||||
|
|
@ -116,7 +117,7 @@ export default {
|
|||
},
|
||||
likeMV() {
|
||||
if (!isAccountLoggedIn()) {
|
||||
this.showToast('此操作需要登录网易云账号');
|
||||
this.showToast(locale.t('toast.needToLogin'));
|
||||
return;
|
||||
}
|
||||
likeAMV({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue