vue2-client 1.8.250 → 1.8.251

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": "vue2-client",
3
- "version": "1.8.250",
3
+ "version": "1.8.251",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -303,7 +303,7 @@ export default {
303
303
  if (!formData[item.model]) {
304
304
  formData[item.model] = undefined
305
305
  }
306
- if (item.formDefault) {
306
+ if (!formData[item.model] && !item.formDefault) {
307
307
  if (['datePicker', 'rangePicker', 'yearPicker', 'monthPicker'].includes(item.type)) {
308
308
  formData[item.model] = this.getDateRange(item.type, item.formDefault)
309
309
  } else {