af-mobile-client-vue3 1.4.74 → 1.4.75

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.4.74",
4
+ "version": "1.4.75",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -173,10 +173,9 @@ function triggerCamera() {
173
173
  handlePhotoUpload(result.data)
174
174
  }
175
175
  else if (result.status === 'error') {
176
- console.error('拍照异常原因:', result.message)
177
176
  showDialog({
178
177
  title: '拍照异常',
179
- message: '拍照失败,请重试',
178
+ message: result.message || '拍照失败,请重试',
180
179
  })
181
180
  }
182
181
  },