Skip to content

The render code compiled using Vue compiler-dom encounters an error in the browser console during runtime #14264

@OpenBST

Description

@OpenBST

Vue version

3.5.26

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-itypu19n?file=index.html

Steps to reproduce

The code simplifies the actual scenario by returning the code string of the "render" method through the "compute()" method in Vue compiler-dom for the template part of a loading component, and finally running it through "vue. global. js". But the browser console prompts:

"[Vue warn]: Property undefined was accessed during render but is not defined on instance. 
at Demo timeout=30 event_id=0 error=false 
at App"

What exactly happened here?
(I use Option API)

Image

What is expected?

no warn

What is actually happening?

System Info

Any additional comments?

No response

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