eoss-ui 0.4.32 → 0.4.33
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/eoss-ui.common.js +17 -19
- package/lib/index.js +1 -1
- package/lib/tree-group.js +3 -2
- package/lib/tree.js +3 -6
- package/package.json +1 -1
- package/packages/tree/src/main.vue +1 -4
- package/packages/tree-group/src/main.vue +1 -0
- package/src/index.js +1 -1
package/lib/tree-group.js
CHANGED
|
@@ -2678,7 +2678,7 @@ module.exports = require("json-bigint");
|
|
|
2678
2678
|
// ESM COMPAT FLAG
|
|
2679
2679
|
__webpack_require__.r(__webpack_exports__);
|
|
2680
2680
|
|
|
2681
|
-
// 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=
|
|
2681
|
+
// 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=67920e49&
|
|
2682
2682
|
var render = function () {
|
|
2683
2683
|
var _vm = this
|
|
2684
2684
|
var _h = _vm.$createElement
|
|
@@ -2997,7 +2997,7 @@ var staticRenderFns = []
|
|
|
2997
2997
|
render._withStripped = true
|
|
2998
2998
|
|
|
2999
2999
|
|
|
3000
|
-
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=
|
|
3000
|
+
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=67920e49&
|
|
3001
3001
|
|
|
3002
3002
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
3003
3003
|
var util = __webpack_require__(0);
|
|
@@ -3411,6 +3411,7 @@ var util = __webpack_require__(0);
|
|
|
3411
3411
|
this.$emit('enterprise-confirm', res);
|
|
3412
3412
|
},
|
|
3413
3413
|
handleCurrentFirst: function handleCurrentFirst(res) {
|
|
3414
|
+
this.checkeds = res.children[0];
|
|
3414
3415
|
this.$emit('current-first', res);
|
|
3415
3416
|
}
|
|
3416
3417
|
}
|
package/lib/tree.js
CHANGED
|
@@ -2671,7 +2671,7 @@ module.exports = require("eoss-element");
|
|
|
2671
2671
|
// ESM COMPAT FLAG
|
|
2672
2672
|
__webpack_require__.r(__webpack_exports__);
|
|
2673
2673
|
|
|
2674
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=
|
|
2674
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=6e8d7069&
|
|
2675
2675
|
var render = function () {
|
|
2676
2676
|
var _vm = this
|
|
2677
2677
|
var _h = _vm.$createElement
|
|
@@ -2864,7 +2864,7 @@ var staticRenderFns = []
|
|
|
2864
2864
|
render._withStripped = true
|
|
2865
2865
|
|
|
2866
2866
|
|
|
2867
|
-
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=
|
|
2867
|
+
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=6e8d7069&
|
|
2868
2868
|
|
|
2869
2869
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
2870
2870
|
var api = __webpack_require__(1);
|
|
@@ -3246,10 +3246,7 @@ var util = __webpack_require__(0);
|
|
|
3246
3246
|
_this.treeList = JSON.parse(JSON.stringify(res.results));
|
|
3247
3247
|
if (_this.currentFirst) {
|
|
3248
3248
|
var currentNode = _this.treeList[0].children[0].id;
|
|
3249
|
-
_this.$emit('current-first',
|
|
3250
|
-
data: _this.treeList[0],
|
|
3251
|
-
id: currentNode
|
|
3252
|
-
});
|
|
3249
|
+
_this.$emit('current-first', _this.treeList[0]);
|
|
3253
3250
|
if (!_this.currentNodeKey) {
|
|
3254
3251
|
_this.$nextTick(function () {
|
|
3255
3252
|
_this.$refs.oaTree.setCurrentKey(currentNode);
|
package/package.json
CHANGED
|
@@ -386,10 +386,7 @@ export default {
|
|
|
386
386
|
this.treeList = JSON.parse(JSON.stringify(res.results));
|
|
387
387
|
if (this.currentFirst) {
|
|
388
388
|
let currentNode = this.treeList[0].children[0].id;
|
|
389
|
-
this.$emit('current-first',
|
|
390
|
-
data: this.treeList[0],
|
|
391
|
-
id: currentNode
|
|
392
|
-
});
|
|
389
|
+
this.$emit('current-first', this.treeList[0]);
|
|
393
390
|
if (!this.currentNodeKey) {
|
|
394
391
|
this.$nextTick(() => {
|
|
395
392
|
this.$refs.oaTree.setCurrentKey(currentNode);
|