feat(web): 优化页面跳转和菜单展现
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
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)
|
||||
@@ -1 +0,0 @@
|
||||
import './Flow.tsx'
|
||||
Reference in New Issue
Block a user