opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.71k stars 267 forks source link

✨ [Feature]: BulletinBoard 公告牌,需要增加item点击事件 #2143

Open happy2091366 opened 2 months ago

happy2091366 commented 2 months ago

What problem does this feature solve

BulletinBoard 公告牌,现在靠传入数据的URL或者Route来跳转,这个跳转如需跳转到详情之类的,那么就非常的麻烦,要在后端数据里拼接URL或者Route,即使这样有时候也不能达到需要的效果,所以如果有个item点击事件获取到当前点击行的数据,那就可以不用后端,前端都可方便的处理了,谢谢!另外,NEW图标(新公告前缀)只显示在第一行上面,不能自定义,这个不太符合常理。

What does the proposed API look like

暂无

What is your project name

OA

Issues-translate-bot commented 2 months ago

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


Title: ✨ [Feature]: BulletinBoard bulletin board, you need to add item click events

What problem does this feature solve

BulletinBoard bulletin board now relies on the URL or Route of the incoming data to jump. If this jump needs to jump to details or the like, it will be very troublesome. The URL or Route must be spliced ​​into the back-end data. Even so, there are Sometimes the required effect cannot be achieved, so if there is an item click event to obtain the data of the current clicked row, then there is no need for a back-end, the front-end can handle it conveniently, thank you! In addition, the NEW icon (new announcement prefix) is only displayed on the first line and cannot be customized. This is not consistent with common sense.

What does the proposed API look like

None yet

What is your project name

OA