New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

auto-el-table

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-el-table

根据JSON数据动态生成表格,可自定义表格标题和表格内容类型

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

auto-el-table

tableDatas:为控件初始化绑定变量,存放表格表头数据和内容

tableData:表格数据

tableLabel:表头定义

示例:

<template>
  <div class="home">
    <auto-el-table ref="subComp" :table-datas="tableDatas" :rule="formRules" ></auto-el-table>
  </div>
</template>

<script>
export default {
  name: 'Home',
  components: {
  },
  data() {
    return {
      tableDatas: [
        {
          tableData: [], 
          tableLabel: [
            { label: '一层', width: '', prop: '1_1', type: 'string' }
          ],
          id: '100101',
          name: '机房温度℃',
          activeNames: ['100101'],
          check: false,
          infoData: {},
          cur_page: 1,
          pageSize: 10,
          total: 0,
          pageSizes: [10, 20, 30, 50],
          isAddColumn: true,
          colume: undefined,
          columeoptions: [{ encode: '1', fullName: '一层', company: '层' }, {
            encode: '2',
            fullName: '二层',
            company: '层'
          }],
          isplan: false,
          build: true
        }
      ],
      formRules: {}
    }
  }
}
</script>

FAQs

Package last updated on 13 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts