angular.copy()可以复制一个对象或数组. 使用方法: data = self.data = angular.copy(self.currentTemplate);复制self.currentTemplate并赋值给data; 相关文章: