af-mobile-client-vue3 1.3.3 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.3.3",
4
+ "version": "1.3.5",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- import type { ComputedRef } from 'vue'
3
2
  import { rootRouteList } from '@af-mobile-client-vue3/config/routes'
4
3
  import { NavBar as VanNavBar } from 'vant/es'
5
4
  import { computed } from 'vue'
@@ -16,7 +15,7 @@ const showNavBar = computed(() => route.meta.navBar)
16
15
  * Get page title
17
16
  * Located in src/locales/json
18
17
  */
19
- const title: ComputedRef<string> = computed(() => {
18
+ const title = computed(() => {
20
19
  if (!route.meta)
21
20
  return ''
22
21
 
@@ -43,7 +42,7 @@ function onBack() {
43
42
  <template>
44
43
  <VanNavBar
45
44
  v-show="showNavBar"
46
- :title="title"
45
+ :title="title as string"
47
46
  :fixed="true"
48
47
  clickable placeholder
49
48
  :left-arrow="showLeftArrow"
@@ -10,7 +10,7 @@ export interface WebConfig {
10
10
  systemName: string
11
11
  routerName: string
12
12
  systemDesc: string
13
- homePage: string
13
+ homePage: any
14
14
  defaultAvatarUrl: string
15
15
  wechatLogin: boolean
16
16
  wxLoginAge: boolean