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

Consecutivev-if stop reactive properties #127

Closed
Labels
@Tronix117

Description

@Tronix117

Whenever in the same hierarchy, there are multiplev-if, and av-if becometrue, all reactive properties stop working altogether. This means all Vue reactive properties does not work anymore in the entire app, even if the page is destroyed. The only way is to reload the app.

As a workaround:v-if alongv-else-if orv-else are not affected,v-show is also not affected.

The bug has been reproduced by@rigor789 .


This causes the issue:

Page  StackLayout    Label(v-if="foo"text="Enable"@tap="foo = false")    Label(v-if="!foo"text="Disable"@tap="foo = true")

However this is working:

Page  StackLayout    Label(v-if="foo"text="Enable"@tap="foo = false")    Label(v-elsetext="Disable"@tap="foo = true")

And this is also working:

Page  StackLayout    Label(v-show="foo"text="Enable"@tap="foo = false")    Label(v-show="!foo"text="Disable"@tap="foo = true")

Metadata

Metadata

Assignees

No one assigned

    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