@cc-component/cc-guide 1.1.9 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -219,8 +219,8 @@ export class GuideViewComp extends Component {
|
|
|
219
219
|
const view = item.getComponent(GuideViewItem)
|
|
220
220
|
//按钮
|
|
221
221
|
let target_button = view.findButton()
|
|
222
|
-
const isCust = GuideModule.GuideCenter.callButtonClick(target_button
|
|
223
|
-
if (isCust) {
|
|
222
|
+
const isCust = GuideModule.GuideCenter.callButtonClick(target_button?.node)
|
|
223
|
+
if (isCust && target_button) {
|
|
224
224
|
|
|
225
225
|
} else {
|
|
226
226
|
const clickEvents = target_button?.clickEvents ?? [];
|