meixioacomponent 0.2.78 → 0.2.81

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.2.78",
3
+ "version": "0.2.81",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -351,7 +351,6 @@ export default {
351
351
  valueId.push(item.value);
352
352
  }
353
353
  value.idList = valueId;
354
- value.valueStr = valueStr;
355
354
  if (JSON.stringify(value) != "{}") {
356
355
  this.module = value;
357
356
  }
@@ -24,6 +24,7 @@
24
24
  :visible-arrow="false"
25
25
  >
26
26
  <span
27
+ class="infor-value_text"
27
28
  :style="{
28
29
  textAlign: valueAlign,
29
30
  }"
@@ -149,7 +150,7 @@ export default {
149
150
  box-sizing: border-box;
150
151
  padding: var(--padding-5) 0px;
151
152
  padding-left: var(--padding-5);
152
- span {
153
+ .infor-value_text {
153
154
  color: var(--font-color-d);
154
155
  font-size: var(--font-size-base);
155
156
  font-weight: var(--font-weight-g);
@@ -166,6 +167,7 @@ export default {
166
167
  text-overflow: ellipsis;
167
168
  }
168
169
  .line-infor-slot-wrap {
170
+ width: 100%;
169
171
  display: flex;
170
172
  flex-flow: row nowrap;
171
173
  }
@@ -137,6 +137,10 @@ export default {
137
137
  type: String,
138
138
  default: "50vh",
139
139
  },
140
+ labelPosition: {
141
+ type: String,
142
+ default: `right`,
143
+ },
140
144
  },
141
145
  components: {
142
146
  pro_formVue,
@@ -192,7 +196,7 @@ export default {
192
196
  },
193
197
  setLabelPosition(type) {
194
198
  if (!type) {
195
- return "right";
199
+ return this.$props.labelPosition;
196
200
  } else if (type == "upload") {
197
201
  return "top";
198
202
  }