Blogger Information
Blog 1
fans 0
comment 0
visits 2324
Related recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
VUE版九九乘法表
十二月的博客
Original
2327 people have browsed it

实例

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vue 测试实例 - 菜鸟教程(runoob.com)</title>
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<div id="app">
  <div>
    <div v-for="i in 9">
    	<span v-for="j in i">
			{{ j }} * {{ i }} = {{ j * i }}  
			<span v-if="j * i < 10 ">
				<span v-if="j == 2">
					     
				</span>
			</span>
			<span v-else>
				  
			</span>
    	</span>

    </div>
  </div>
</div>
 
<script>
	new Vue({
	  el: '#app'
	});
</script>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post