mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 12:17:43 +08:00
fix (#10678)
This commit is contained in:
parent
491d5001fc
commit
4bbf3c8ea1
@ -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++) {
|
||||
|
@ -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']
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user