清空token
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user