eoss-ui 0.5.21 → 0.5.23
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/lib/data-table.js +7 -9
- package/lib/eoss-ui.common.js +19 -19
- package/lib/index.js +1 -1
- package/lib/tree-group.js +6 -4
- package/package.json +1 -1
- package/packages/data-table/src/column.vue +0 -2
- package/packages/tree-group/src/main.vue +5 -2
- package/src/index.js +1 -1
package/lib/tree-group.js
CHANGED
|
@@ -3460,7 +3460,7 @@ module.exports = require("json-bigint");
|
|
|
3460
3460
|
// ESM COMPAT FLAG
|
|
3461
3461
|
__webpack_require__.r(__webpack_exports__);
|
|
3462
3462
|
|
|
3463
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=
|
|
3463
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=6b5d4d48&
|
|
3464
3464
|
var render = function () {
|
|
3465
3465
|
var _vm = this
|
|
3466
3466
|
var _h = _vm.$createElement
|
|
@@ -3794,7 +3794,7 @@ var staticRenderFns = []
|
|
|
3794
3794
|
render._withStripped = true
|
|
3795
3795
|
|
|
3796
3796
|
|
|
3797
|
-
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=
|
|
3797
|
+
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=6b5d4d48&
|
|
3798
3798
|
|
|
3799
3799
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
3800
3800
|
var util = __webpack_require__(0);
|
|
@@ -4097,9 +4097,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4097
4097
|
},
|
|
4098
4098
|
//监听table,变化后重新加载,解决点击树节点后改变table对象导致的样式错乱问题
|
|
4099
4099
|
table: {
|
|
4100
|
-
handler: function handler(val) {
|
|
4101
|
-
if (val) {
|
|
4100
|
+
handler: function handler(val, oldVal) {
|
|
4101
|
+
if (val && val.param) {
|
|
4102
4102
|
this.params = _extends({}, this.params, val.param);
|
|
4103
|
+
}
|
|
4104
|
+
if (oldVal && val && val.url !== oldVal.url) {
|
|
4103
4105
|
this.count++;
|
|
4104
4106
|
}
|
|
4105
4107
|
},
|
package/package.json
CHANGED
|
@@ -552,8 +552,6 @@ export default {
|
|
|
552
552
|
return config;
|
|
553
553
|
},
|
|
554
554
|
formOption() {
|
|
555
|
-
console.log('this.$attrs',this.$attrs);
|
|
556
|
-
console.log('this.option',this.option);
|
|
557
555
|
return {
|
|
558
556
|
labelKey: this.sysCode ? 'shortName' : this.labelKey,
|
|
559
557
|
valueKey: this.sysCode ? 'cciValue' : this.valueKey,
|
|
@@ -302,11 +302,14 @@ export default {
|
|
|
302
302
|
},
|
|
303
303
|
//监听table,变化后重新加载,解决点击树节点后改变table对象导致的样式错乱问题
|
|
304
304
|
table: {
|
|
305
|
-
handler(val) {
|
|
306
|
-
if (val) {
|
|
305
|
+
handler(val, oldVal) {
|
|
306
|
+
if (val && val.param) {
|
|
307
307
|
this.params = { ...this.params, ...val.param };
|
|
308
|
+
}
|
|
309
|
+
if (oldVal && val && val.url !== oldVal.url) {
|
|
308
310
|
this.count++;
|
|
309
311
|
}
|
|
312
|
+
|
|
310
313
|
},
|
|
311
314
|
deep: true,
|
|
312
315
|
immediate: true
|