This commit is contained in:
zhuxt2015 2022-07-01 11:30:01 +08:00 committed by GitHub
parent 491d5001fc
commit 4bbf3c8ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 2 deletions

View File

@ -1791,6 +1791,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
final Date date = new Date();
processDefinition.setCreateTime(date);
processDefinition.setUpdateTime(date);
processDefinition.setReleaseState(ReleaseState.OFFLINE);
if (StringUtils.isNotBlank(processDefinition.getLocations())) {
ArrayNode jsonNodes = JSONUtils.parseArray(processDefinition.getLocations());
for (int i = 0; i < jsonNodes.size(); i++) {

View File

@ -212,7 +212,6 @@ export default defineComponent({
type='info'
tag='div'
circle
disabled={releaseState === 'ONLINE'}
onClick={this.handleCopyWorkflow}
>
<NIcon>

View File

@ -70,7 +70,6 @@ export function useTable() {
variables.columns = [
{
type: 'selection',
disabled: (row) => row.releaseState === 'ONLINE',
className: 'btn-selected',
...COLUMN_WIDTH_CONFIG['selection']
},