john hai 8 meses
pai
achega
463632f0ec
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 2 2
      frontEndMobile/src/App.vue
  2. 1 1
      frontEndMobile/src/api/api.ts

+ 2 - 2
frontEndMobile/src/App.vue

@@ -13,7 +13,7 @@ const isTabbar = ref(true)
 watch(
   route,
   (newValue) => {
-    title.value = newValue.meta.title || '首页'
+    title.value = `${newValue.meta.title || '首页'}`
   },
   {
     deep: true
@@ -37,7 +37,7 @@ function pageInit(newValue) {
 
 onMounted(() => {
   setTimeout(() => {
-    title.value = route.meta.title || '首页'
+    title.value = `${route.meta.title || '首页'}`
   }, 300)
 
 })

+ 1 - 1
frontEndMobile/src/api/api.ts

@@ -1,6 +1,6 @@
 // src/services/api.ts
 
-import http from './http.ts';
+import http from './http';
 
 // 定义接口类型
 interface User {