Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / mini-program / ai-card

  • 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
  • ai-card
  • components
  • recordTable
  • recordTable.js
  • 前端's avatar
    新增访客记录 · 62848a07
    前端 committed Feb 09, 2023
    62848a07
recordTable.js 453 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 25 26 27 28 29 30 31 32
// components/recordTable/recordTable.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    recordData: {
      type: Array,
      default: [],
      observer(n) {
        this.setData({
          tableData: n
        })
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
  fruitList: ['访客','联系电话','最后访问时间'],
  tableData: []
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})