eoss-ui 0.5.37 → 0.5.39

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.
@@ -85,7 +85,9 @@
85
85
  }
86
86
  }
87
87
  .es-group-flow {
88
- border-left: $--border-base;
88
+ &:not(.es-flow-narrow) {
89
+ border-left: $--border-base;
90
+ }
89
91
  &.es-flow-narrow {
90
92
  background-color: #fafafa;
91
93
  .es-flow-title {
@@ -23,7 +23,8 @@
23
23
  flex-direction: column;
24
24
  padding-bottom: 12px;
25
25
  justify-content: space-between;
26
- .em-flow-more-btn{
26
+ position: relative;
27
+ .em-flow-more-btn {
27
28
  display: block;
28
29
  width: 100%;
29
30
  }
@@ -38,12 +39,12 @@
38
39
  .es-flow-top {
39
40
  height: 350px;
40
41
  .es-flow-title {
41
- display: flex;
42
- justify-content: space-between;
43
- align-items: center;
44
42
  height: 40px;
43
+ line-height: 40px;
45
44
  .es-icon {
46
- margin: 0 4px;
45
+ position: absolute;
46
+ right: 8px;
47
+ top: 4px;
47
48
  }
48
49
  }
49
50
  .es-opinion {
@@ -84,10 +85,10 @@
84
85
  height: 24px;
85
86
  }
86
87
  }
87
- .es-flow-btn:hover{
88
- background-color: #F5F5F5;
89
- color:$--color-primary;
90
- ::v-deep .el-popover{
88
+ .es-flow-btn:hover {
89
+ background-color: #f5f5f5;
90
+ color: $--color-primary;
91
+ ::v-deep .el-popover {
91
92
  padding: 12px 0px !important;
92
93
  }
93
94
  }
@@ -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.indexOf('//:') === 0) {
236
- return 'wujie';
237
- } else if (
238
- src.indexOf('dhtml') > -1 ||
239
- (src.indexOf('html') > -1 && src.indexOf('html#') === -1)
240
- ) {
241
- return 'iframe';
242
- } else {
243
- const routes = this.$router.options.routes;
244
- if (routes) {
245
- let path = this.hasRouter(routes, src);
246
- if (path) {
247
- this.refresh = true;
248
- let index = decodeURI(src).indexOf('?');
249
- path = path + (index > -1 ? src.slice(index) : '');
250
- this.$router.push(path);
251
- return 'router';
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)
package/src/index.js CHANGED
@@ -117,7 +117,7 @@ if (typeof window !== 'undefined' && window.Vue) {
117
117
  }
118
118
 
119
119
  export default {
120
- version: '0.5.37',
120
+ version: '0.5.39',
121
121
  install,
122
122
  Button,
123
123
  ButtonGroup,