This commit is contained in:
zhuxt2015 2022-07-01 11:30:01 +08:00 committed by caishunfeng
parent 38bce4f2d3
commit bb19830cb3
3 changed files with 1 additions and 2 deletions

View File

@ -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++) {

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']
},