百度查出幾個
this.$nextTick(function () {
this.$refs.tabs.$children[0].$refs.tabs[2].style.display="none";
})
開始時只用了 this.$refs.tabs.$children[0].$refs.tabs[2].style.display="none";
結果一直失敗,必須放在this.$nextTick
中才起作用
百度查出幾個
this.$nextTick(function () {
this.$refs.tabs.$children[0].$refs.tabs[2].style.display="none";
})
開始時只用了 this.$refs.tabs.$children[0].$refs.tabs[2].style.display="none";
結果一直失敗,必須放在this.$nextTick
中才起作用
表格: <el-table ref="tablestu" v-bind:data="tablestu.items" size="mini" fit stripe border
<div id="app"> <el-table ref="tabletree" size="mini" :data="data" :height="tablehe