diff --git a/src/store/index.ts b/src/store/index.ts index 8575390..6abc4a9 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -68,9 +68,9 @@ export default createStore({ views:0 }, qh: { - code: "86", - ename: "China", - name: "中国", + code: "", + ename: "", + name: "", } }, mutations: { diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue index a442eb0..6934d48 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -23,12 +23,13 @@ Jiangsu --> - + {{i.name}}+{{i.code}} +
@@ -79,7 +80,7 @@
-
+
{{i.title}}
@@ -124,6 +125,7 @@ import { message } from 'ant-design-vue'; import router from '@/router'; import { useI18n } from '@/utils/i18n'; import store from '@/store'; +import { getValue } from '@/utils/common'; export default defineComponent({ name: "Login", @@ -147,7 +149,7 @@ export default defineComponent({ password: '123456' }) const mrqh = computed(() => store.state.qh) - const hqqh = computed(() => { return mrqh.value.name + '+' + mrqh.value.code }) + const hqqh = computed(() => { console.log(mrqh.value.name + '+' + mrqh.value.code); return (getValue("Lanvuage") == "en" ?mrqh.value.ename : mrqh.value.name) + '+' + mrqh.value.code }) const quhaolist = ref([ { code: "86", @@ -156,7 +158,7 @@ export default defineComponent({ } ]) const myquhao=ref(mrqh.value.code) - const videolist=ref([{}]) + const videolist=ref([]) onMounted(async ()=>{ quhaolist.value=await getquhaolist() diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue index e3bb555..82a36e1 100644 --- a/src/views/mine/ReleaseWebcast.vue +++ b/src/views/mine/ReleaseWebcast.vue @@ -203,11 +203,8 @@
{{ lan.$t("wuzhibozige") }}
-
- - {{ lives.msg }} +
+