askbot-dragon 0.8.15 → 0.8.16

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": "askbot-dragon",
3
- "version": "0.8.15",
3
+ "version": "0.8.16",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1218,11 +1218,6 @@ export default {
1218
1218
  if (!this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId]){
1219
1219
  this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId] = fieldValue
1220
1220
  }
1221
- if (this.formList.form.formFieldRelation[i].value){
1222
- this.formList.form.formFieldRelation[i].value = this.formList.form.formFieldRelation[i].formField.defaultValue?
1223
- this.formList.form.formFieldRelation[i].formField.defaultValue:[];
1224
- }
1225
-
1226
1221
  }
1227
1222
  if (type === 'DATE_PICKER') {
1228
1223
  if(this.formList.form.formFieldRelation[i].value!==null && this.formList.form.formFieldRelation[i].value!=='' ) {
@@ -1500,7 +1495,7 @@ export default {
1500
1495
  }
1501
1496
  bool = this.formShow.form.formFieldRelation[i].value && this.formShow.form.formFieldRelation[i].value.indexOf('\n')!==-1 && !strVal
1502
1497
  }
1503
- if(!this.formShow.form.formFieldRelation[i].value || bool || (this.formShow.form.formFieldRelation[i].value&&this.formShow.form.formFieldRelation[i].value.length===0)) {
1498
+ if(!this.formShow.form.formFieldRelation[i].value || bool || (this.formShow.form.formFieldRelation[i].value && !this.formShow.form.formFieldRelation[i].value.length)) {
1504
1499
  this.$message.error('请完善'+ this.formShow.form.formFieldRelation[i].formField.name)
1505
1500
  return
1506
1501
  }