mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-18 10:04:01 +08:00
【新增】私有证书
This commit is contained in:
25
frontend/apps/vue-flow/components/nodes/EndNode.tsx
Normal file
25
frontend/apps/vue-flow/components/nodes/EndNode.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import { defineComponent } from 'vue'
|
||||
import { Handle, Position } from '@vue-flow/core'
|
||||
import styles from './Node.module.css'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'EndNode',
|
||||
props: {
|
||||
data: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
setup(props) {
|
||||
return () => (
|
||||
<div class={`${styles.node} ${styles.endNode}`}>
|
||||
<div class={styles.nodeContent}>
|
||||
<div class={styles.nodeIcon}>🏁</div>
|
||||
<div class={styles.nodeLabel}>{props.data.label}</div>
|
||||
</div>
|
||||
{/* 只有入口,没有出口 */}
|
||||
<Handle id="target" type="target" position={Position.Top} class={styles.handle} />
|
||||
</div>
|
||||
)
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user