This commit is contained in:
zhaomeijing
2022-06-23 16:57:01 +08:00
parent ce78b75ee5
commit 84c6f03ee3
2 changed files with 4 additions and 1 deletions
@@ -213,7 +213,9 @@ export default {
} else if (this.selectedRowKeys.length > 1) {
this.$message.warning(this.$t('OnlyOneSelected'))
} else {
this.formData.title = this.formData.title.trim()
if(this.formData.title !== undefined) {
this.formData.title = this.formData.title.trim()
}
this.$refs.ruleForm.validate(valid => {
if (valid) {
this.flag = true
@@ -311,6 +311,7 @@ export default {
deleteConfigIds: this.deleteConfigIds
}
let querycontentListItem = { ...querycontentList, ...paramsManifestId }
this.confirmLoading = true
postAction(this.url.conAdd, querycontentListItem).then((res) => {
if (res.success) {
this.confirmLoading = false