[update]
This commit is contained in:
@@ -208,7 +208,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//新增
|
//新增
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
console.log(this.row.version,'this.row.versionthis.row.version')
|
|
||||||
if (this.selectedRowKeys.length == 0) {
|
if (this.selectedRowKeys.length == 0) {
|
||||||
this.$message.warning(this.$t('pleaseSelectData'))
|
this.$message.warning(this.$t('pleaseSelectData'))
|
||||||
} else if (this.selectedRowKeys.length > 1) {
|
} else if (this.selectedRowKeys.length > 1) {
|
||||||
@@ -221,7 +220,7 @@ export default {
|
|||||||
let postDate = {
|
let postDate = {
|
||||||
title: this.formData.title,
|
title: this.formData.title,
|
||||||
paramsTemplateId: this.paramsTemplateId || this.selectedRowKeys[0],
|
paramsTemplateId: this.paramsTemplateId || this.selectedRowKeys[0],
|
||||||
paramsTemplatePublishVersion: this.row.version,
|
paramsTemplatePublishVersion: this.row.version || this.selectedRowKeysDate[0].version,
|
||||||
projectId: this.projectId
|
projectId: this.projectId
|
||||||
}
|
}
|
||||||
if (this.formData.id) {
|
if (this.formData.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user