We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac 12
node 18.18.1
tiny-engine develop
页面schema结构 { "componentName": "Page", "fileName": "DemoPage", "css": ".page-base-style {\n padding: 24px;background: #FFFFFF;\n}\n\n.block-base-style {\n margin: 16px;\n}\n\n.component-base-style {\n margin: 8px;\n}\n", "props": { "className": "page-base-style" }, "lifeCycles": {}, "children": [ { "componentName": "h1", "props": { "className": "component-base-style" }, "id": "4dd4c34f", "show": true, "showEye": false, "children": "测试大纲树拖拽喂喂测试大纲树拖拽喂喂喂" }, { "componentName": "div", "props": { "className": "component-base-style" }, "children": [], "id": "63112352", "show": true, "showEye": false } ], "dataSource": { "list": [] }, "methods": {}, "bridge": { "imports": [] }, "state": {}, "inputs": [], "outputs": [] }
{ "componentName": "Page", "fileName": "DemoPage", "css": ".page-base-style {\n padding: 24px;background: #FFFFFF;\n}\n\n.block-base-style {\n margin: 16px;\n}\n\n.component-base-style {\n margin: 8px;\n}\n", "props": { "className": "page-base-style" }, "lifeCycles": {}, "children": [ { "componentName": "h1", "props": { "className": "component-base-style" }, "id": "4dd4c34f", "show": true, "showEye": false, "children": "测试大纲树拖拽喂喂测试大纲树拖拽喂喂喂" }, { "componentName": "div", "props": { "className": "component-base-style" }, "children": [], "id": "63112352", "show": true, "showEye": false } ], "dataSource": { "list": [] }, "methods": {}, "bridge": { "imports": [] }, "state": {}, "inputs": [], "outputs": [] }
1、新建页面 2、在页面中拖入P、H1、Text 元素或者 复制上方schema 3、打开大纲树,拖拽H1元素交换位置, 4、H1元素填充内容丢失
位置交换,其他不变
位置交换,children内容丢失
二开项目
No response
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: Drag the P and H1 elements to exchange positions in the outline tree, and the contents in the P and H1 elements are cleared
Sorry, something went wrong.
gene9831
No branches or pull requests
Environment
mac 12
Version
node 18.18.1
Version
tiny-engine develop
Link to minimal reproduction
页面schema结构
{ "componentName": "Page", "fileName": "DemoPage", "css": ".page-base-style {\n padding: 24px;background: #FFFFFF;\n}\n\n.block-base-style {\n margin: 16px;\n}\n\n.component-base-style {\n margin: 8px;\n}\n", "props": { "className": "page-base-style" }, "lifeCycles": {}, "children": [ { "componentName": "h1", "props": { "className": "component-base-style" }, "id": "4dd4c34f", "show": true, "showEye": false, "children": "测试大纲树拖拽喂喂测试大纲树拖拽喂喂喂" }, { "componentName": "div", "props": { "className": "component-base-style" }, "children": [], "id": "63112352", "show": true, "showEye": false } ], "dataSource": { "list": [] }, "methods": {}, "bridge": { "imports": [] }, "state": {}, "inputs": [], "outputs": [] }
Step to reproduce
1、新建页面
2、在页面中拖入P、H1、Text 元素或者 复制上方schema
3、打开大纲树,拖拽H1元素交换位置,
4、H1元素填充内容丢失
What is expected
位置交换,其他不变
What is actually happening
位置交换,children内容丢失
What is your project name
二开项目
Any additional comments (optional)
No response
The text was updated successfully, but these errors were encountered: