lxystar
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://cdn.staticfile.org/angular.js/1.4.6/angular.min.js"></script>
	</head>
	<body>
		<div ng-app="" ng-init="names=[
			{name:\'star\',age:\'18\'},
			{name:\'ronnie\',age:\'19\'},
			{name:\'lisa\',age:\'20\'},
		]">
			<ul>
				<li ng-repeat="x in names">
					{{x.name+\',\'+x.age}}
				</li>
			</ul>
		</div>
	</body>
</html>

分类:

技术点:

相关文章:

  • 2021-05-22
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案