feat: 更改验证方式
This commit is contained in:
parent
0093f28d1d
commit
4255c31b79
@ -7,26 +7,6 @@
|
|||||||
|
|
||||||
:before-close="confirm"
|
:before-close="confirm"
|
||||||
>
|
>
|
||||||
<!-- <template #header>
|
|
||||||
<div class="drawer-header">
|
|
||||||
<div>{{ props.data.properties?.name || '参数配置' }}</div>
|
|
||||||
<div>
|
|
||||||
<el-popconfirm
|
|
||||||
width="220"
|
|
||||||
confirm-button-text="确认删除"
|
|
||||||
cancel-button-text="误点击,不删除"
|
|
||||||
:icon="InfoFilled"
|
|
||||||
icon-color="#626AEF"
|
|
||||||
title="是否删除此节点?"
|
|
||||||
@confirm="deleteNode"
|
|
||||||
>
|
|
||||||
<template #reference>
|
|
||||||
<el-button type="primary" size="small">删除</el-button>
|
|
||||||
</template>
|
|
||||||
</el-popconfirm>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template> -->
|
|
||||||
<div class="input__container" v-if="props.data.type === 'start'">
|
<div class="input__container" v-if="props.data.type === 'start'">
|
||||||
<el-collapse v-model="activeNames">
|
<el-collapse v-model="activeNames">
|
||||||
<el-collapse-item name="1" icon-position="left">
|
<el-collapse-item name="1" icon-position="left">
|
||||||
@ -1229,11 +1209,6 @@ const props = defineProps({
|
|||||||
|
|
||||||
const emits = defineEmits(['close'])
|
const emits = defineEmits(['close'])
|
||||||
|
|
||||||
const deleteNode = () => {
|
|
||||||
lf.deleteNode(props.data.id);
|
|
||||||
emits('close')
|
|
||||||
}
|
|
||||||
|
|
||||||
const formData = reactive({
|
const formData = reactive({
|
||||||
inputParams: [],
|
inputParams: [],
|
||||||
nodeParams: [],
|
nodeParams: [],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user