sale-client 4.2.91 → 4.2.92

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": "sale-client",
3
- "version": "4.2.91",
3
+ "version": "4.2.92",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -348,7 +348,7 @@ export default {
348
348
  Object.assign(Validate, {required: true})
349
349
  } else {
350
350
  // 这里是防止默认值位true 第一遍加载时 formconfig 中没值导致校验中required一直是true的情况
351
- if (this.$v[name].required) {
351
+ if (this.$v && this.$v[name] && this.$v[name].required) {
352
352
  this.$set(this.$v[name], 'required', false)
353
353
  }
354
354
  }