소스 검색

1.fix:修复

xiexaing 1 년 전
부모
커밋
5b941b5c1f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/education/archives/index.vue

+ 2 - 1
src/views/education/archives/index.vue

@@ -62,8 +62,9 @@
       :tableData="tableData"
       :navText="navText"
       :loading="loading"
-      :rowKey="'userId'"
+      :rowKey="row => row"
       ><template slot="customize">
+        <!-- :rowKey="'userId'" -->
         <el-button type="primary" @click="plUpdate">更新文字资料</el-button>
         <el-button type="primary" @click="plLeadInfo">更新图片资料</el-button>
         <el-button type="primary" @click="fileDownloadFunc()">批量下载</el-button>