mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 05:09:48 +08:00
fix (#10678)
This commit is contained in:
parent
38bce4f2d3
commit
bb19830cb3
@ -1755,6 +1755,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|||||||
final Date date = new Date();
|
final Date date = new Date();
|
||||||
processDefinition.setCreateTime(date);
|
processDefinition.setCreateTime(date);
|
||||||
processDefinition.setUpdateTime(date);
|
processDefinition.setUpdateTime(date);
|
||||||
|
processDefinition.setReleaseState(ReleaseState.OFFLINE);
|
||||||
if (StringUtils.isNotBlank(processDefinition.getLocations())) {
|
if (StringUtils.isNotBlank(processDefinition.getLocations())) {
|
||||||
ArrayNode jsonNodes = JSONUtils.parseArray(processDefinition.getLocations());
|
ArrayNode jsonNodes = JSONUtils.parseArray(processDefinition.getLocations());
|
||||||
for (int i = 0; i < jsonNodes.size(); i++) {
|
for (int i = 0; i < jsonNodes.size(); i++) {
|
||||||
|
@ -212,7 +212,6 @@ export default defineComponent({
|
|||||||
type='info'
|
type='info'
|
||||||
tag='div'
|
tag='div'
|
||||||
circle
|
circle
|
||||||
disabled={releaseState === 'ONLINE'}
|
|
||||||
onClick={this.handleCopyWorkflow}
|
onClick={this.handleCopyWorkflow}
|
||||||
>
|
>
|
||||||
<NIcon>
|
<NIcon>
|
||||||
|
@ -70,7 +70,6 @@ export function useTable() {
|
|||||||
variables.columns = [
|
variables.columns = [
|
||||||
{
|
{
|
||||||
type: 'selection',
|
type: 'selection',
|
||||||
disabled: (row) => row.releaseState === 'ONLINE',
|
|
||||||
className: 'btn-selected',
|
className: 'btn-selected',
|
||||||
...COLUMN_WIDTH_CONFIG['selection']
|
...COLUMN_WIDTH_CONFIG['selection']
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user