ol-base-components 3.1.3 → 3.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol-base-components",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "private": false,
5
5
  "main": "src/package/index.js",
6
6
  "bin": {
@@ -92,19 +92,19 @@
92
92
  @row-click="rowClick"
93
93
  >
94
94
  <el-table-column
95
- v-if="tableData.options && tableData.options.index"
95
+ v-if="tableData.options && tableData.options.selection"
96
96
  width="60"
97
97
  align="center"
98
- type="index"
99
- :index="computeTableIndex"
100
- label="序号"
98
+ type="selection"
99
+ label=""
101
100
  />
102
101
  <el-table-column
103
- v-if="tableData.options && tableData.options.selection"
102
+ v-if="tableData.options && tableData.options.index"
104
103
  width="60"
105
104
  align="center"
106
- type="selection"
107
- label=""
105
+ type="index"
106
+ :index="computeTableIndex"
107
+ label="序号"
108
108
  />
109
109
  <!-- 新增插槽,允许父组件自定义表头 -->
110
110
  <!-- <template v-if="tableData.options && tableData.options.useSlotHeader">