Skip to content

onResponseError element-plus el-notification bug #14249

@arnauddoub

Description

@arnauddoub

Environment


  • Operating System: Linux
  • Node Version: v16.14.2
  • Nuxt Version: 3.0.0-rc.4
  • Package Manager: npm@7.17.0
  • Builder: vite
  • User Config: css, build
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-38hauf?file=composables/useApi.ts

Describe the bug

Hello, in the header I get a null user but if i comment ElNotification which is in onResponseError of useApi.ts i get my user in the header. I don't understand why. (sorry for my English)

Additional context

dependency element-plus 2.2.6

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions