af-mobile-client-vue3 1.2.45 → 1.2.47

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.45",
4
+ "version": "1.2.47",
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
  })
@@ -141,7 +141,7 @@ const currInst = getCurrentInstance()
141
141
  // 配置中心->表单项变更触发函数
142
142
  const dataChangeFunc = debounce(async () => {
143
143
  if (attr.dataChangeFunc) {
144
- await executeStrFunctionByContext(currInst, attr.dataChangeFunc, [form, (formData: any) => emits('setForm', formData), attr, null, mode])
144
+ await executeStrFunctionByContext(currInst, attr.dataChangeFunc, [props.form, (formData: any) => emits('setForm', formData), attr, null, mode])
145
145
  }
146
146
  }, 500)
147
147