af-mobile-client-vue3 1.6.44 → 1.6.45

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.6.44",
4
+ "version": "1.6.45",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -10,7 +10,7 @@ import {
10
10
  Icon as VanIcon,
11
11
  ImagePreview as VanImagePreview,
12
12
  } from 'vant'
13
- import {computed, onBeforeUnmount, onMounted, onUnmounted, reactive, ref} from 'vue'
13
+ import { computed, onBeforeUnmount, onMounted, onUnmounted, reactive, ref } from 'vue'
14
14
 
15
15
  export interface FileTypeConfig {
16
16
  userType: string
@@ -239,8 +239,6 @@ onBeforeMount(() => {
239
239
  initComponent()
240
240
  })
241
241
 
242
-
243
-
244
242
  // 组件初始化
245
243
  function initComponent() {
246
244
  getConfigByName(configName, (result) => {
@@ -117,7 +117,6 @@ onMounted(async () => {
117
117
  window.addEventListener('appstate-change', handleAppStateChange as EventListener)
118
118
  })
119
119
 
120
-
121
120
  // 定义应用状态事件的类型
122
121
  interface AppStateEvent extends CustomEvent {
123
122
  detail: {
@@ -7,7 +7,7 @@ import upaddress from './upaddress.vue'
7
7
 
8
8
  const props = withDefaults(defineProps<{
9
9
  id?: string
10
- userDetail?: object
10
+ userDetail?: Record<string, any>
11
11
  isReadOnly?: boolean
12
12
  }>(), {
13
13
  id: '',
@@ -10,7 +10,7 @@ import {
10
10
  Icon as VanIcon,
11
11
  Uploader as VanUploader,
12
12
  } from 'vant'
13
- import { inject, onBeforeUnmount, ref } from 'vue'
13
+ import { inject, ref } from 'vue'
14
14
 
15
15
  interface WatermarkConfig {
16
16
  fontSize?: number | string
@@ -8,7 +8,7 @@ import {
8
8
  Popup as VanPopup,
9
9
  Search as VanSearch,
10
10
  } from 'vant'
11
- import { computed, reactive, ref, watch, onBeforeUnmount } from 'vue'
11
+ import { computed, onBeforeUnmount, reactive, ref, watch } from 'vue'
12
12
 
13
13
  const props = defineProps({
14
14
  columns: {