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