实例
text.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>TODO</title>
<link rel="stylesheet" href="../css/style1.css">
<link rel="stylesheet" href="../font/dele/dele.css">
</head>
<body>
<section class="todoapp" id="app">
<div>
<my-header
@addrecord="parentAdd"
></my-header>
<section class="main">
<List
:act="filters"
@rmdata="parentRm"
>
</List>
</section>
<my-footer
v-show="!!arr.length"
:n="num"
:cn="cnum"
></my-footer>
<ul class="btn" v-show="arr.length!=0" >
<li><input type="button" value="删除" @click="del"></li>
<li><input type="button" value="清空" @click="clear()"></li>
</ul>
</div>
</section>
<script src="../vue.js"><