【调整】申请证书配置CA选项增加liteSSL证书

This commit is contained in:
cai
2026-01-13 16:45:05 +08:00
parent 6c15ae35a1
commit 190e250095
2108 changed files with 58 additions and 401539 deletions

View File

@@ -1,50 +0,0 @@
import { defineComponent } from 'vue'
import BaseNodeWithAddButton from './BaseNodeWithAddButton'
import styles from './Node.module.css'
import { NodeProps } from '@vue-flow/core'
export default defineComponent({
name: 'NewBranchNode',
props: {
id: { type: String, required: true },
data: { type: Object, required: true },
selected: { type: Boolean, default: false },
connectable: { type: Boolean, default: true },
},
setup(props) {
const handleNodeClick = (nodeData: any) => {
// 在这里可以打开节点配置面板
console.log('配置分支节点', nodeData)
// 触发事件通知父组件打开配置面板
const event = new CustomEvent('open-node-config', {
detail: {
nodeId: nodeData.id,
nodeType: 'branch',
nodeData: nodeData,
},
})
window.dispatchEvent(event)
}
const handleAddNode = (data: any) => {
console.log('添加节点成功', data)
}
return () => (
<BaseNodeWithAddButton
id={props.id}
data={props.data}
selected={props.selected}
connectable={props.connectable}
nodeClassName={styles.branchNode}
icon="🔀"
isClickable={true}
onClick={handleNodeClick}
onAdd-node={handleAddNode}
>
{/* 分支节点可以显示分支数量 */}
{props.data.branchCount && <div class={styles.nodeMessage}>: {props.data.branchCount}</div>}
</BaseNodeWithAddButton>
)
},
})