Skip to content

The button can only update twice when clicked. #6

@zwzbumvv

Description

@zwzbumvv

When I use it, I want to update the data on the page multiple times. Take the following code as an example: when I click the button twice, the page can no longer be updated, and clicking this button won't increase the variable d either. However, if I remove $('#windows-con').view(windowsData), the value of d can increase normally.
`var d = 1;

Image

$('.test-btn').click(function () {
var windowsData = {
title: "title" + d
}
$('#windows-con').view(windowsData)
d++;
});`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions