From e57af4df73141ed938c23fa05e79d19b3d053bcf Mon Sep 17 00:00:00 2001
From: wuyiping0628 <1106773985@qq.com>
Date: Tue, 3 Dec 2024 04:13:06 -0800
Subject: [PATCH] feat(bulletin-board): [bulletin-board] Add click events
---
examples/sites/demos/apis/bulletin-board.js | 7 +++++--
.../demos/pc/app/bulletin-board/events-composition-api.vue | 6 +++---
examples/sites/demos/pc/app/bulletin-board/events.vue | 6 +++---
.../demos/pc/app/bulletin-board/webdoc/bulletin-board.js | 6 +++---
packages/renderless/src/bulletin-board/index.ts | 2 +-
5 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/examples/sites/demos/apis/bulletin-board.js b/examples/sites/demos/apis/bulletin-board.js
index 173b0da42b..39e543f9ea 100644
--- a/examples/sites/demos/apis/bulletin-board.js
+++ b/examples/sites/demos/apis/bulletin-board.js
@@ -90,7 +90,7 @@ export default {
],
events: [
{
- name: 'handleClick',
+ name: 'contentClick',
type: '(event: BulletinBoardData) => void',
defaultValue: '',
desc: {
@@ -98,7 +98,10 @@ export default {
'en-US': 'The callback function triggered when the content of the bulletin board is clicked'
},
mode: ['pc'],
- pcDemo: 'events'
+ pcDemo: 'events',
+ meta: {
+ stable: '3.20.0'
+ }
}
],
methods: [],
diff --git a/examples/sites/demos/pc/app/bulletin-board/events-composition-api.vue b/examples/sites/demos/pc/app/bulletin-board/events-composition-api.vue
index fcccb1f662..7eea0b3455 100644
--- a/examples/sites/demos/pc/app/bulletin-board/events-composition-api.vue
+++ b/examples/sites/demos/pc/app/bulletin-board/events-composition-api.vue
@@ -1,5 +1,5 @@
-
+