doway-coms 2.11.97 → 2.12.0

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": "doway-coms",
3
- "version": "2.11.97",
3
+ "version": "2.12.00",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -57,8 +57,8 @@
57
57
  <div class="d-error-msg">{{ v.errors[0] }}</div>
58
58
  </ValidationProvider>
59
59
  <span v-else>
60
- <span v-if="percent">{{ getFormatValue(currentValue)}}</span>
61
- <span v-else>{{ getFormatValue(currentValue) }}</span>
60
+ <span :style="style" v-if="percent">{{ getFormatValue(currentValue)}}</span>
61
+ <span :style="style" v-else>{{ getFormatValue(currentValue) }}</span>
62
62
  </span>
63
63
  </div>
64
64
  <slot name="right" :field="name"></slot>
@@ -208,6 +208,10 @@ export default {
208
208
  default: function() {
209
209
  return false;
210
210
  }
211
+ },
212
+ style:{
213
+ type: Object,
214
+ default: {}
211
215
  }
212
216
  },
213
217
  created() {},