jquery-view-engine icon indicating copy to clipboard operation
jquery-view-engine copied to clipboard

The button can only update twice when clicked.

Open zwzbumvv opened this issue 5 months ago • 0 comments

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++; });`

zwzbumvv avatar Aug 14 '25 12:08 zwzbumvv