Prechádzať zdrojové kódy

refactor(app): 重构应用并更新 SDK

- 更新 BJCASDK 版本至 1.0.2
- 移除 PinDialog 组件的直接引用- 优化证书管理和签名相关 API 的调用方式
-调整构建配置,设置为 release 模式
- 更新版本记录和相关文档
徐勤民 5 mesiacov pred
rodič
commit
8060517761
2 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 2 2
      BuildProfile.ets
  2. 1 1
      src/main/ets/view/SafeView.ets

+ 2 - 2
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';
 
 /**

+ 1 - 1
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