清空token

This commit is contained in:
尹吉欢
2018-04-08 19:21:44 +08:00
parent 77fd5db476
commit 080be4273c
7 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
Vue.component('my-component', {
props: ['title'],
template: `
<div class="head">
<h1 @click="show">ddd{{message}}</h1>
<h1 @click="show">{{title}}ddd{{message}}</h1>
</div>
`,
data: function(){
@@ -6,7 +6,7 @@
</head>
<body>
<div id="example">
<my-component></my-component>
<my-component title="yjh"></my-component>
</div>
<script type="text/javascript" src="../../js/vue.js" ></script>