From ce602a5ff9bcb5f43088122390c695eba7dc9467 Mon Sep 17 00:00:00 2001 From: asd <374367073@qq.com> Date: Wed, 28 Oct 2020 11:39:20 +0800 Subject: [PATCH] 0.0.0 --- src/api/index.ts | 2 +- src/components/Menu.vue | 1 + src/components/NavTop.vue | 6 +----- src/components/ReviewItemtwo.vue | 4 ++-- src/components/VideoReview.vue | 8 +++++++- src/views/login/Login.vue | 8 ++++++-- src/views/login/Sign.vue | 5 +++++ src/views/mine/Archives.vue | 19 ++++++++++++++----- 8 files changed, 37 insertions(+), 16 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 67a0c1c..365c440 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -743,7 +743,7 @@ export async function putmember(data: any): Promise{ willsay: JSON.stringify(data.willsayValue), birthday: data.birthday, zoneid: data.zoneid, - currency: data.currency, + currency: data.currencyValue, language: data.languageValue, tlanguage: data.tlanguageValue, video: data.video, diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 9fd2fd7..b44ebe7 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -173,6 +173,7 @@ export default defineComponent({ const userinfo = computed(() => store.state.userinfo) // 设置当前路由 for(const i in list){ + console.log(list[i].route==useRoute().path) if(list[i].route == useRoute().path){ selnum.value = parseInt(i); } diff --git a/src/components/NavTop.vue b/src/components/NavTop.vue index 83ffc50..c3df605 100644 --- a/src/components/NavTop.vue +++ b/src/components/NavTop.vue @@ -43,7 +43,7 @@
-
{{userinfo.currencyValue}}
+
{{userinfo.currency}}