src/components/table/components/Warn.vue
@@ -1,9 +1,5 @@ <template> <Public> <template v-slot:title> <span>{{ titleProp }}</span> </template> <template v-slot:publicTable> <div> <el-tabs v-model="activeName"> <el-tab-pane label="实时统计" name="first"> <el-scrollbar style="width:100%"> @@ -149,14 +145,10 @@ </el-table> </el-tab-pane> </el-tabs> </template> </Public> </div> </template> <script> import Public from '@components/table/Public' export default { data () { return { @@ -193,7 +185,6 @@ }] } }, components: { Public }, methods: { refsDatatitle (item) { this.titleProp = item