Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

glsx-business / aiot-develop-platform

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • aiot-develop-platform
  • src
  • components
  • d2-table-header
  • index.vue
  • cwq0219's avatar
    create · 68a4b11a
    cwq0219 committed Oct 22, 2020
    68a4b11a
index.vue 394 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<template>
  <el-row class="table-header">
    <el-col :span="12">
      <d2-el-icon name="s-grid" />
      <span v-text="title"></span>
    </el-col>
    <el-col :span="12">
      <slot></slot>
    </el-col>
  </el-row>
</template>

<script>
export default {
  name: 'd2-teble-header',
  props: {
    title: {
      type: String,
      required: false,
      default: ''
    }
  }
}
</script>