eoss-ui 0.5.37 → 0.5.38
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 +29 -25
- package/lib/index.js +1 -1
- package/lib/tree-group.js +23 -19
- package/package.json +1 -1
- package/packages/tree-group/src/main.vue +24 -21
- package/src/index.js +1 -1
package/lib/tree-group.js
CHANGED
|
@@ -3499,7 +3499,7 @@ module.exports = require("json-bigint");
|
|
|
3499
3499
|
// ESM COMPAT FLAG
|
|
3500
3500
|
__webpack_require__.r(__webpack_exports__);
|
|
3501
3501
|
|
|
3502
|
-
// 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=
|
|
3502
|
+
// 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=eb2ece46&
|
|
3503
3503
|
var render = function () {
|
|
3504
3504
|
var _vm = this
|
|
3505
3505
|
var _h = _vm.$createElement
|
|
@@ -3833,7 +3833,7 @@ var staticRenderFns = []
|
|
|
3833
3833
|
render._withStripped = true
|
|
3834
3834
|
|
|
3835
3835
|
|
|
3836
|
-
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=
|
|
3836
|
+
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=eb2ece46&
|
|
3837
3837
|
|
|
3838
3838
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
3839
3839
|
var util = __webpack_require__(0);
|
|
@@ -4074,25 +4074,28 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4074
4074
|
return this.name ? this.name : util["a" /* default */].uuid(16);
|
|
4075
4075
|
},
|
|
4076
4076
|
method: function method() {
|
|
4077
|
+
var src = this.src;
|
|
4077
4078
|
this.refresh = false;
|
|
4078
|
-
if (src
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4079
|
+
if (src) {
|
|
4080
|
+
if (src.indexOf('//:') === 0) {
|
|
4081
|
+
return 'wujie';
|
|
4082
|
+
} else if (src.indexOf('dhtml') > -1 || src.indexOf('html') > -1 && src.indexOf('html#') === -1) {
|
|
4083
|
+
return 'iframe';
|
|
4084
|
+
} else {
|
|
4085
|
+
var routes = this.$router.options.routes;
|
|
4086
|
+
if (routes) {
|
|
4087
|
+
var path = this.hasRouter(routes, src);
|
|
4088
|
+
if (path) {
|
|
4089
|
+
this.refresh = true;
|
|
4090
|
+
var index = decodeURI(src).indexOf('?');
|
|
4091
|
+
path = path + (index > -1 ? src.slice(index) : '');
|
|
4092
|
+
this.$router.push(path);
|
|
4093
|
+
return 'router';
|
|
4094
|
+
}
|
|
4092
4095
|
}
|
|
4096
|
+
this.refresh = true;
|
|
4097
|
+
return 'wujie';
|
|
4093
4098
|
}
|
|
4094
|
-
this.refresh = true;
|
|
4095
|
-
return 'wujie';
|
|
4096
4099
|
}
|
|
4097
4100
|
},
|
|
4098
4101
|
param: function param() {
|
|
@@ -4184,7 +4187,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4184
4187
|
if (this.syncKeys === false) {
|
|
4185
4188
|
return null;
|
|
4186
4189
|
}
|
|
4187
|
-
if (this.enterprise || this.tabs && this.tabs.length && this.tabs[Number(this.active)].enterprise) {
|
|
4190
|
+
if (this.enterprise && JSON.stringify(this.enterprise) != '{}' || this.tabs && this.tabs.length && this.tabs[Number(this.active)].enterprise) {
|
|
4188
4191
|
if (this.checkeds) {
|
|
4189
4192
|
if (Array.isArray(this.checkeds)) {
|
|
4190
4193
|
var creditCodes = [];
|
|
@@ -4206,6 +4209,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4206
4209
|
return null;
|
|
4207
4210
|
} else {
|
|
4208
4211
|
if (this.checkeds) {
|
|
4212
|
+
debugger;
|
|
4209
4213
|
var params = {};
|
|
4210
4214
|
if (Array.isArray(this.checkeds)) {
|
|
4211
4215
|
if (this.syncKeys && util["a" /* default */].isObject(this.syncKeys)) {
|
package/package.json
CHANGED
|
@@ -231,28 +231,31 @@ export default {
|
|
|
231
231
|
return this.name ? this.name : util.uuid(16);
|
|
232
232
|
},
|
|
233
233
|
method() {
|
|
234
|
+
let src = this.src;
|
|
234
235
|
this.refresh = false;
|
|
235
|
-
if (src
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
236
|
+
if (src) {
|
|
237
|
+
if (src.indexOf('//:') === 0) {
|
|
238
|
+
return 'wujie';
|
|
239
|
+
} else if (
|
|
240
|
+
src.indexOf('dhtml') > -1 ||
|
|
241
|
+
(src.indexOf('html') > -1 && src.indexOf('html#') === -1)
|
|
242
|
+
) {
|
|
243
|
+
return 'iframe';
|
|
244
|
+
} else {
|
|
245
|
+
const routes = this.$router.options.routes;
|
|
246
|
+
if (routes) {
|
|
247
|
+
let path = this.hasRouter(routes, src);
|
|
248
|
+
if (path) {
|
|
249
|
+
this.refresh = true;
|
|
250
|
+
let index = decodeURI(src).indexOf('?');
|
|
251
|
+
path = path + (index > -1 ? src.slice(index) : '');
|
|
252
|
+
this.$router.push(path);
|
|
253
|
+
return 'router';
|
|
254
|
+
}
|
|
252
255
|
}
|
|
256
|
+
this.refresh = true;
|
|
257
|
+
return 'wujie';
|
|
253
258
|
}
|
|
254
|
-
this.refresh = true;
|
|
255
|
-
return 'wujie';
|
|
256
259
|
}
|
|
257
260
|
},
|
|
258
261
|
param() {
|
|
@@ -309,7 +312,6 @@ export default {
|
|
|
309
312
|
if (oldVal && val && val.url !== oldVal.url) {
|
|
310
313
|
this.count++;
|
|
311
314
|
}
|
|
312
|
-
|
|
313
315
|
},
|
|
314
316
|
deep: true,
|
|
315
317
|
immediate: true
|
|
@@ -354,7 +356,7 @@ export default {
|
|
|
354
356
|
return null;
|
|
355
357
|
}
|
|
356
358
|
if (
|
|
357
|
-
this.enterprise ||
|
|
359
|
+
(this.enterprise && JSON.stringify(this.enterprise) != '{}') ||
|
|
358
360
|
(this.tabs &&
|
|
359
361
|
this.tabs.length &&
|
|
360
362
|
this.tabs[Number(this.active)].enterprise)
|
|
@@ -380,6 +382,7 @@ export default {
|
|
|
380
382
|
return null;
|
|
381
383
|
} else {
|
|
382
384
|
if (this.checkeds) {
|
|
385
|
+
debugger;
|
|
383
386
|
let params = {};
|
|
384
387
|
if (Array.isArray(this.checkeds)) {
|
|
385
388
|
if (this.syncKeys && util.isObject(this.syncKeys)) {
|