diff --git a/BuildProfile.ets b/BuildProfile.ets index 9ae474e..155b7b3 100644 --- a/BuildProfile.ets +++ b/BuildProfile.ets @@ -2,8 +2,8 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '1.0.5'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; +export const BUILD_MODE_NAME = 'release'; +export const DEBUG = false; export const TARGET_NAME = 'default'; /** diff --git a/src/main/ets/view/SafeView.ets b/src/main/ets/view/SafeView.ets index ed036b8..f1d2e78 100644 --- a/src/main/ets/view/SafeView.ets +++ b/src/main/ets/view/SafeView.ets @@ -39,7 +39,7 @@ export struct SafeView { */ @Prop showBadgeRight: boolean; // 设置返回按钮事件,如果hideBack为true,该事件无效 - @Prop onBackEvent?: () => void = undefined + onBackEvent?: () => void = undefined // 设置返回按钮事件 @Prop onClickLeft?: TitleBarBtn @Prop onClickRight?: TitleBarBtn