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;
$('.test-btn').click(function () {
var windowsData = {
title: "title" + d
}
$('#windows-con').view(windowsData)
d++;
});`