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}}