Angularjs $scope object is bidirectionally bound to Js var object value

  1. userInfo is a Json object, and $scope.changeInfo is the value used for page display. You need to retain a copy of the original data to determine whether the object has a changed value.
  2. now it is found that as long as the value of one of the three objects changes, the other two will change together. What can I do to make a change in one object without affecting the other two objects?

Mar.16,2021
Menu