@ -1755,6 +1755,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++) {
@ -212,7 +212,6 @@ export default defineComponent({
type='info'
tag='div'
circle
disabled={releaseState === 'ONLINE'}
onClick={this.handleCopyWorkflow}
>
<NIcon>
@ -70,7 +70,6 @@ export function useTable() {
variables.columns = [
{
type: 'selection',
disabled: (row) => row.releaseState === 'ONLINE',
className: 'btn-selected',
...COLUMN_WIDTH_CONFIG['selection']
},