瀏覽代碼

党课学习 - 点击表头进行日期手动排序

Wang Zi Wen 1 年之前
父節點
當前提交
d67c753f78
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-ui/src/views/branch/xxyd/study/index.vue

+ 1 - 1
ruoyi-ui/src/views/branch/xxyd/study/index.vue

@@ -92,7 +92,7 @@
     <el-table v-loading="loading" :data="studyList" @selection-change="handleSelectionChange" :height="clientHeight"
               border>
       <el-table-column type="selection" width="55" align="center"/>
-      <el-table-column label="时间" align="center" prop="studyTime" width="100">
+      <el-table-column label="时间" align="center" prop="studyTime" width="100" sortable>
         <template slot-scope="scope">
           <span>{{ parseTime(scope.row.studyTime, '{y}-{m}-{d}') }}</span>
         </template>