doway-coms 2.11.1 → 2.11.3

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": "doway-coms",
3
- "version": "2.11.1",
3
+ "version": "2.11.3",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1280,9 +1280,19 @@ export default {
1280
1280
  //设置筛选过滤条件
1281
1281
  this.setFilterExpression(this.internalColumns)
1282
1282
  }
1283
-
1283
+ //注意,不能移到上面添加,会出现布局问题,暂时不知道什么原因????
1284
+ if (this.showCheckBox) {
1285
+ this.internalColumns.unshift({
1286
+ type: 'checkbox',
1287
+ fixed: 'left',
1288
+ width: 40,
1289
+ params: {
1290
+ disableUserVisible: true,
1291
+ },
1292
+ })
1293
+ }
1284
1294
  if (this.showSeq) {
1285
- this.internalColumns.push(
1295
+ this.internalColumns.unshift(
1286
1296
  // {
1287
1297
  // children: [
1288
1298
  {
@@ -1304,16 +1314,7 @@ export default {
1304
1314
  )
1305
1315
  }
1306
1316
 
1307
- if (this.showCheckBox) {
1308
- this.internalColumns.push({
1309
- type: 'checkbox',
1310
- fixed: 'left',
1311
- width: 40,
1312
- params: {
1313
- disableUserVisible: true,
1314
- },
1315
- })
1316
- }
1317
+
1317
1318
  this.gridEdit = this.edit
1318
1319
  },
1319
1320
  mounted() {