af-mobile-client-vue3 1.2.46 → 1.2.48

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.2.46",
4
+ "version": "1.2.48",
5
5
  "packageManager": "pnpm@10.12.3",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -156,7 +156,9 @@ function handleActionSelect(option: any) {
156
156
  param: {},
157
157
  callbackFunc: (result: any) => {
158
158
  if (result.status === 'success') {
159
- handlePhotoUpload(result.data)
159
+ result.data?.photos.forEach((photo: any) => {
160
+ handlePhotoUpload(photo)
161
+ })
160
162
  }
161
163
  },
162
164
  })
@@ -54,7 +54,7 @@ function init(params: Form) {
54
54
  serviceName: props.serviceName,
55
55
  groupFormData: props.groupFormData,
56
56
  mode: props.mode,
57
- // ...params,
57
+ ...params,
58
58
  }
59
59
  console.log('数据整合----', propsData.value)
60
60
  formData.value = propsData.value.groupFormData
@@ -339,6 +339,7 @@ watch(
339
339
  watch(
340
340
  () => modelData.value,
341
341
  (newVal, oldVal) => {
342
+ console.log('变更函数新旧值-----', newVal, oldVal)
342
343
  // 避免初始化时的调用
343
344
  if (oldVal !== undefined && newVal !== oldVal) {
344
345
  dataChangeFunc()
@@ -67,7 +67,7 @@ function submit(_result) {
67
67
  <!-- v-if="isInit" -->
68
68
  <XFormGroup
69
69
  ref="formGroup"
70
- config-name="ApplyAddContractFormGroup"
70
+ config-name="ceshi11111FormGroup"
71
71
  service-name="af-apply"
72
72
  :group-form-data="formData"
73
73
  mode="新增"