当前位置:网站首页 > R语言数据分析 > 正文

ElementUI报错 Error in callback for watcher "data": "Error: [ElTable] prop row-key is required"

前端报错  Error in callback for watcher "data": "Error: [ElTable] prop row-key is required"

Error: [ElTable] prop row-key is required

<el-table :data="props.row.Entities" border size="mini" :row-key="getRowKeys" empty-text="暂无节点设计关系"> <el-table-column type="selection" :reserve-selection="true" width="55"></el-table-column> <el-table-column prop="phone" label="所属阵营" ></el-table-column> <el-table-column prop="nickName" label="模型名称" ></el-table-column> </el-table>

 JS

getRowKeys(row) { return row.staffTypeId; },

 

到此这篇ElementUI报错 Error in callback for watcher "data": "Error: [ElTable] prop row-key is required"的文章就介绍到这了,更多相关内容请继续浏览下面的相关推荐文章,希望大家都能在编程的领域有一番成就!

版权声明


相关文章:

  • ElementUI遍历生成Form表单2024-12-02 20:36:05
  • InputNumber 计数器 连续点击一定时间内只允许执行一次2024-12-02 20:36:05
  • ElementUI 之 Cascader 级联选择器回显2024-12-02 20:36:05
  • Cesium基于czml billboard的模型转向2024-12-02 20:36:05
  • ElementUI checkbox组件中的indeterminate 状态2024-12-02 20:36:05
  • ElementUI 获取el-tree选中节点信息2024-12-02 20:36:05
  • ElementUI 之 Cascader 级联选择器自定义节点内容2024-12-02 20:36:05
  • ElementUI 之 Cascader 级联选择器指定 value label2024-12-02 20:36:05
  • ElementUI-textarea文本域高度自适应设置的方法2024-12-02 20:36:05
  • ElementUI 级联选择器的el-cascader校验2024-12-02 20:36:05
  • 全屏图片