meixioacomponent 0.2.80 → 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.80",
3
+ "version": "0.2.81",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -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
  }