askbot-dragon 0.9.8 → 0.9.10
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
|
@@ -1687,11 +1687,13 @@ export default {
|
|
|
1687
1687
|
strVal = value.replace(/\n/g,'');
|
|
1688
1688
|
}
|
|
1689
1689
|
bool[this.formShow.form.formFieldRelation[i].fieldId] = this.formShow.form.formFieldRelation[i].value && this.formShow.form.formFieldRelation[i].value.includes('\n') && !strVal
|
|
1690
|
-
}
|
|
1690
|
+
}
|
|
1691
|
+
if (this.formShow.form.formFieldRelation[i].relationDisplay && this.formShow.form.formFieldRelation[i].display) {
|
|
1691
1692
|
if(!this.formShow.form.formFieldRelation[i].value || bool[this.formShow.form.formFieldRelation[i].fieldId] || (Array.isArray(this.formShow.form.formFieldRelation[i].value) && !this.formShow.form.formFieldRelation[i].value.length)) {
|
|
1692
1693
|
this.$message.error('请完善'+ this.formShow.form.formFieldRelation[i].formField.name)
|
|
1693
1694
|
return
|
|
1694
1695
|
}
|
|
1696
|
+
}
|
|
1695
1697
|
}
|
|
1696
1698
|
}
|
|
1697
1699
|
let extInfo = {
|