Skip to content

Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. #10815

@donghao-doc

Description

@donghao-doc

Vue version

3.4.21

Link to minimal reproduction

https://github.com/dongdong12138/vue3-bug-report

Steps to reproduce

  1. Please download and run the provided vue3-bug-report repository first.
  2. Open your browser’s console, wait a few seconds, and you will see some warnings and errors.

What is expected?

I expect that after the loading data changes, the page’s loading status can be updated.

What is actually happening?

When I modify the value of loading in the finally block, it indeed changes, but the page remains in the loading state. In my project, loading is an overlay effect, which causes the overlay to not disappear even though the value of loading has been changed to false.

System Info

No response

Any additional comments?

BTW, In my demo, when I comment out v-show, there are no more warnings or errors in the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions