centaline-data-driven 1.3.26 → 1.3.27

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": "centaline-data-driven",
3
- "version": "1.3.26",
3
+ "version": "1.3.27",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -269,7 +269,6 @@
269
269
  }
270
270
  #dragAll .el-checkbox__input.is-checked+.el-checkbox__label{
271
271
  font-weight: 700;
272
- font-size: 16px;
273
272
  }
274
273
  /* .dragItem .el-checkbox__input.is-checked .el-checkbox__inner,
275
274
  .dragItem .el-checkbox__input.is-indeterminate .el-checkbox__inner {
@@ -74,12 +74,16 @@ export default {
74
74
  }
75
75
  },
76
76
  created() {
77
- if (typeof this.vmodel === "undefined") {
78
- this.model = this.loaderObj.DragSort(this.source);
79
- } else {
80
- this.model = this.vmodel;
81
- this.testList = this.vmodel.dragList;
82
- }
77
+ this.$nextTick(function () {
78
+ if (typeof this.vmodel === 'undefined') {
79
+ this.model = this.loaderObj.DragSort(this.source);
80
+ }
81
+ else {
82
+ this.model = this.vmodel;
83
+ this.testList = this.vmodel.dragList;
84
+ // console.log('this.testList', this.testList);
85
+ }
86
+ });
83
87
 
84
88
  this.testList.forEach(item => {
85
89
  // 处理后端传过来的数据,如果没有可以判断是否勾选复选框的字段,则需给数据作处理,加上一个isChecked字段,判断复选框勾选