refactor(web): 更换client代码的目录

This commit is contained in:
v-zhangjc9
2025-05-09 12:14:06 +08:00
parent 8a7ad32df9
commit 121f6688c6
148 changed files with 9 additions and 118748 deletions

View File

@@ -0,0 +1,25 @@
import {Tinyflow} from '@tinyflow-ai/react'
import {type FormControlProps, FormItem} from 'amis'
import React from 'react'
import './Flow.scss'
import '@tinyflow-ai/react/dist/index.css'
const Flow: React.FC<FormControlProps> = props => {
const {onChange} = props
return (
<div className="flowable">
<Tinyflow
className="tinyflow-instance"
style={{height: '800px'}}
onDataChange={(value) => {
onChange(value)
}}
/>
</div>
)
}
FormItem({
type: 'flow',
autoVar: true,
})(Flow)

View File

@@ -0,0 +1 @@
import './Flow.tsx'