Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/corePublic

Can't access variable in v-if when defined in v-for on the same element #1165

Closed
@rashfael

Description

@rashfael

Version

3.0.0-beta.10

Reproduction link

https://jsfiddle.net/4qxok5gh/3/

Steps to reproduce

  • Run the reproduction

What is expected?

Reproduction should render:

23

What is actually happening?

A warning is printed in the console:

[Vue warn]: Property "a" was accessed during render but is not defined on instance.

I know that using v-for and v-if together is not recommended, but I could not find any rfc or issue in vue-next for a stricter enforcement of that best practice.

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp