empty master
This commit is contained in:
parent
92c1162255
commit
67d534df27
276 changed files with 0 additions and 28368 deletions
|
@ -1,55 +0,0 @@
|
|||
<template>
|
||||
<div :class="prefixCls" v-show="show"><slot></slot></div>
|
||||
</template>
|
||||
<script>
|
||||
const prefixCls = 'ivu-tabs-tabpane';
|
||||
|
||||
export default {
|
||||
name: 'TabPane',
|
||||
props: {
|
||||
key: {
|
||||
type: String
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
icon: {
|
||||
type: String
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
closable: {
|
||||
type: Boolean,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
prefixCls: prefixCls,
|
||||
show: true
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
updateNav () {
|
||||
this.$parent.updateNav();
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
label () {
|
||||
this.updateNav();
|
||||
},
|
||||
icon () {
|
||||
this.updateNav();
|
||||
},
|
||||
disabled () {
|
||||
this.updateNav();
|
||||
}
|
||||
},
|
||||
ready () {
|
||||
this.updateNav();
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue