[update]
This commit is contained in:
@@ -213,7 +213,9 @@ export default {
|
|||||||
} else if (this.selectedRowKeys.length > 1) {
|
} else if (this.selectedRowKeys.length > 1) {
|
||||||
this.$message.warning(this.$t('OnlyOneSelected'))
|
this.$message.warning(this.$t('OnlyOneSelected'))
|
||||||
} else {
|
} 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 => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.flag = true
|
this.flag = true
|
||||||
|
|||||||
@@ -311,6 +311,7 @@ export default {
|
|||||||
deleteConfigIds: this.deleteConfigIds
|
deleteConfigIds: this.deleteConfigIds
|
||||||
}
|
}
|
||||||
let querycontentListItem = { ...querycontentList, ...paramsManifestId }
|
let querycontentListItem = { ...querycontentList, ...paramsManifestId }
|
||||||
|
this.confirmLoading = true
|
||||||
postAction(this.url.conAdd, querycontentListItem).then((res) => {
|
postAction(this.url.conAdd, querycontentListItem).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user