This commit is contained in:
zhaomeijing
2022-06-08 16:12:46 +08:00
parent 195c9c814c
commit fab8e90537
@@ -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) {