update Transfer
update Transfer
This commit is contained in:
parent
122e69ee97
commit
dcc061279a
3 changed files with 15 additions and 10 deletions
|
@ -23,9 +23,7 @@
|
|||
<li :class="prefixCls + '-content-not-found'">{{ notFoundText }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div :class="prefixCls + '-footer'">
|
||||
<slot></slot>
|
||||
</div>
|
||||
<div :class="prefixCls + '-footer'" v-if="showFooter" v-el:footer><slot></slot></div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
@ -50,7 +48,8 @@
|
|||
data () {
|
||||
return {
|
||||
showItems: [],
|
||||
query: ''
|
||||
query: '',
|
||||
showFooter: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -99,6 +98,10 @@
|
|||
},
|
||||
created () {
|
||||
this.updateFilteredData();
|
||||
|
||||
},
|
||||
ready () {
|
||||
this.showFooter = this.$els.footer.innerHTML !== '';
|
||||
},
|
||||
watch: {
|
||||
data () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue