meixioacomponent 0.3.23 → 0.3.24

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": "meixioacomponent",
3
- "version": "0.3.23",
3
+ "version": "0.3.24",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -134,13 +134,17 @@ export default {
134
134
  this.open = true;
135
135
  this.$nextTick(() => {
136
136
  this.setDrawerStyle();
137
- console.log(this.$refs.drawer);
138
137
  });
139
138
  },
140
139
 
141
140
  hiddenDrawer() {
142
141
  if (this.isExis()) {
143
142
  this.$refs.drawer.closeDrawer();
143
+
144
+ const { destroyOnClose } = this.$props;
145
+ if (destroyOnClose) {
146
+ this.$destroy();
147
+ }
144
148
  }
145
149
  },
146
150
 
@@ -230,7 +234,7 @@ export default {
230
234
  align-items: center;
231
235
  flex-flow: row nowrap;
232
236
  box-sizing: border-box;
233
- padding:0px var(--padding-5);
237
+ padding: 0px var(--padding-5);
234
238
  justify-content: space-between;
235
239
  span {
236
240
  color: var(--font-color-d);
@@ -61,11 +61,17 @@ export default {
61
61
  height: auto;
62
62
  display: flex;
63
63
  min-height: 50px;
64
+
64
65
  &:last-of-type {
65
66
  /deep/ .point-line {
66
67
  display: none;
67
68
  }
68
69
  }
70
+ &:first-of-type {
71
+ /deep/ .point-line {
72
+ display: block;
73
+ }
74
+ }
69
75
  }
70
76
  .base-time-line-right {
71
77
  width: 100%;