Authored by 陈峰

hede span

... ... @@ -21,7 +21,7 @@ new Vue({
},
scopedSlots: {
right: function() {
return h('button', {
return h('span', {
'class': { //eslint-disable-line
'right-btn': true
},
... ...
... ... @@ -2,7 +2,7 @@
<div>
<header-box title="浏览记录" ref="header">
<div slot="right">
<button class="right-btn" @click="clearAllRecords">清空</button>
<span class="right-btn" @click="clearAllRecords">清空</span>
</div>
</header-box>
<div v-if="hasdata">
... ...