Skip to content

Image upload failed #8246

@zgl612

Description

@zgl612

Capacitor Version

"@aashu-dubey/capacitor-statusbar-safe-area": "^4.0.0",
"@capacitor-community/native-audio": "^7.0.1",
"@capacitor/android": "7.4.3",
"@capacitor/app": "^7.0.0",
"@capacitor/app-launcher": "^7.0.0",
"@capacitor/camera": "^7.0.0",
"@capacitor/clipboard": "^7.0.0",
"@capacitor/core": "^7.0.0",
"@capacitor/device": "^7.0.0",
"@capacitor/filesystem": "^7.0.0",
"@capacitor/geolocation": "^7.0.0",
"@capacitor/haptics": "^7.0.0",
"@capacitor/ios": "7.4.3",
"@capacitor/keyboard": "^7.0.0",
"@capacitor/local-notifications": "^7.0.0",
"@capacitor/preferences": "^7.0.0",
"@capacitor/push-notifications": "^7.0.0",
"@capacitor/status-bar": "^7.0.0",
"@capgo/capacitor-photo-library": "^7.2.7",
"@capgo/capacitor-social-login": "^7.0.0",
"@capgo/capacitor-updater": "^7.0.0",

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

When using Capacitor + Vue3 to package an Android app, after the screen is turned off or the app runs in the background for a period of time and then re-enters, the file upload function of Vant cannot monitor the changes in variables, resulting in no preview image on the page and the upload interface not being triggered.After selecting the file, there is no change on the page. There is no preview image and no file upload interface is triggered.

Expected Behavior

It is possible to have a normal preview image, and after successful upload, the address of the preview image can be changed.

Project Reproduction

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions