-
+
-
{{ settings.user.nickname }}
+
{{ data.user.nickname }}
@@ -118,7 +118,7 @@ import { changeAppearance } from "@/utils/common";
export default {
name: "settings",
computed: {
- ...mapState(["settings"]),
+ ...mapState(["settings", "data"]),
lang: {
get() {
return this.settings.lang;
From 0d5e62feff0df7c7967499282c95de781be8a266 Mon Sep 17 00:00:00 2001
From: kunkka
Date: Tue, 27 Oct 2020 01:13:47 +0800
Subject: [PATCH 2/2] build: update ignore
---
.gitignore | 2 ++
.prettierignore | 2 ++
2 files changed, 4 insertions(+)
diff --git a/.gitignore b/.gitignore
index 3736680..bf9c4ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,5 @@ pnpm-debug.log*
*.sw?
.vercel
+NeteaseCloudMusicApi-master
+NeteaseCloudMusicApi-master.zip
diff --git a/.prettierignore b/.prettierignore
index 2b87838..3502ba4 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,4 +1,6 @@
build
coverage
dist
+NeteaseCloudMusicApi-master
+NeteaseCloudMusicApi-master.zip