[update] 市场清单发布流程里流程名称里的版本号前端不需要处理
This commit is contained in:
@@ -345,12 +345,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
let manifestVersion = ''
|
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (this.formInline.manifestVersion || 'V1.0') + '-' + '发布')
|
||||||
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') + '-' + '发布')
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -457,12 +452,7 @@ export default {
|
|||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.isGetDataAfter = true
|
this.isGetDataAfter = true
|
||||||
let manifestVersion = ''
|
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (this.formInline.manifestVersion || 'V1.0') + '-' + '发布')
|
||||||
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') + '-' + '发布')
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user