[update] 市场清单发布流程里流程名称里的版本号前端不需要处理

This commit is contained in:
lideqin
2024-07-22 18:01:10 +08:00
parent 0e55072214
commit ad444cc28d
@@ -345,12 +345,7 @@ export default {
}
}).finally(() => {
this.loading = false
let manifestVersion = ''
if (this.formInline.manifestVersion) {
manifestVersion = this.getStringBetween(this.formInline.manifestVersion, 'V', '.')
manifestVersion = 'V' + (Number(manifestVersion) + 1) + '.0'
}
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (manifestVersion || 'V1.0') + '-' + '发布')
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (this.formInline.manifestVersion || 'V1.0') + '-' + '发布')
})
}
})
@@ -457,12 +452,7 @@ export default {
}).finally(() => {
this.loading = false
this.isGetDataAfter = true
let manifestVersion = ''
if (this.formInline.manifestVersion) {
manifestVersion = this.getStringBetween(this.formInline.manifestVersion, 'V', '.')
manifestVersion = 'V' + (Number(manifestVersion) + 1) + '.0'
}
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (manifestVersion || 'V1.0') + '-' + '发布')
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (this.formInline.manifestVersion || 'V1.0') + '-' + '发布')
})
}
})