Skip to content
New issue

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

🐛 [Bug]: 表格组件 开启 toolbar slot或者default slot 表格没有可以拖拽的区域 #111

Closed
Thea1211 opened this issue Nov 30, 2023 · 8 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Thea1211
Copy link

Environment

chrome

Version

v16.14.0

Version

no

Link to minimal reproduction

https://github.com/opentiny/tiny-engine.git

Step to reproduce

test

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: When the table component opens toolbar slot or default slot, the table has no draggable area.

@chilingling chilingling added bug Something isn't working good first issue Good for newcomers labels Dec 2, 2023
@chilingling
Copy link
Member

感谢反馈

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Thanks for the feedback

@ghost
Copy link

ghost commented Dec 4, 2023

@Thea1211 请提供下bundle.json中tinyGrid组件的配置。正确的配置后插槽展示应该如下图所示,配置位置在schema.slots
{ "component: "TinyGrid", "schema": { "slots": { "toolbar": {} } } }
image

@Thea1211
Copy link
Author

Thea1211 commented Dec 4, 2023

okk 之前放在了 scheme的properties下面的

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


okk was previously placed under the properties of scheme.

@Thea1211 Thea1211 closed this as completed Dec 4, 2023
@Thea1211
Copy link
Author

Thea1211 commented Dec 6, 2023

如果希望这个slot可以传参 json要怎么写的
image
le类似表格的column的header和default slot 外层toolbar是这样
image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


If you want this slot to be able to pass parameter json, how should you write it?
image
The header and default slot of the table-like column are as follows in the outer toolbar:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants