The server returns a json
{data: [{" name ":" zhang ", "gender" : "male"}, {" name ":" bill ", "gender" : "f"}]}I want to change the "bill" to "two pock-marked", again returned to the browser, is equivalent to not allow the user to see the name of li si, want how to do?
CodePudding user response:
Direct operation data, modify, or delete the data can be ahCodePudding user response:
Find some clues, it seems that hook procedure called JSCodePudding user response:
May be before you: browser sends the address book of request - & gt; Return a valid data - & gt; Binding presentNow add a little more steps: browser sends the address book of request - & gt; Return a valid data - & gt; According to your business needs change data - & gt; Binding present
Don't hook, this is a simple callback,
You ask the question, is probably said so, specific business code and not on...