src/views/project/index.vue
@@ -74,7 +74,6 @@ stripe :data="list" :element-loading-text="elementLoadingText" :height="height" @selection-change="setSelectRows" @expand-change="expandChange" > @@ -84,6 +83,9 @@ :data="props.row.pkgList" :show-header="false" style="width: 100%" row-class-name="expand-row" :highlight-current-row="false" > > <el-table-column prop="fileName"></el-table-column> <el-table-column prop="version" width="150"></el-table-column> @@ -370,3 +372,8 @@ }, }; </script> <style> .el-table .expand-row { background-color: oldlace; } </style>