angular.js - How to click on a certain content in the repeat without affecting other content in angularjs
我想大声告诉你
我想大声告诉你 2017-05-15 17:08:30
0
1
544

Use the model to bind the content status, click on a certain content in the repeat, and then make a request to the background. After the request is successful, the status value of the content is modified, but the current result is that the content is requested. Nothing wrong, but when the page is rendered, all status values ​​also change. Although the background data only requests one... But on the page... it feels like the same image description is requested

How to modify this? Please give me some advice

我想大声告诉你
我想大声告诉你

reply all(1)
刘奇

orderPayList[index].state_str = $scope.result.state_str

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template