Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[N-Image] Download in preview modal is wrong when url is local Url generated by URL.createObjectURL #6394

Open
5 tasks done
simonliang20 opened this issue Sep 26, 2024 · 0 comments · May be fixed by #6396
Open
5 tasks done
Assignees
Labels
untriaged need to sort

Comments

@simonliang20
Copy link

Describe the bug

  1. I have a url generated by URL.createObjectURL
  2. N-Image show and priview is no problem
  3. But preview and click download is wrong,such as:

image

  1. And the result is open new tab, such as:
    image

  2. I check the source code related download,the problem in here:

image

Steps to reproduce

i upload the detail code link by codesandbox

Link to minimal reproduction

https://codesandbox.io/p/sandbox/beautiful-cache-5jfrvt?workspaceId=be254d71-098e-48a3-a6ef-3612a43349d7

System Info

System:
    OS: macOS 13.4.1
    CPU: (8) x64 Apple M1 Pro
    Memory: 62.48 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 10.21.0 - ~/.nvm/versions/node/v10.21.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v10.21.0/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v10.21.0/bin/npm
  Browsers:
    Chrome: 129.0.6668.70
    Edge: 129.0.2792.52
    Safari: 16.5.1
  npmPackages:
    naive-ui: ^2.39.0 => 2.38.2 
    vue: ^3.4.29 => 3.4.31

Used Package Manager

npm

Validations

@simonliang20 simonliang20 added the untriaged need to sort label Sep 26, 2024
@jahnli jahnli linked a pull request Sep 26, 2024 that will close this issue
@jahnli jahnli self-assigned this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged need to sort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants