From 8060517761aa3fa663c9843ee71674e4d6e8dcef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Fri, 8 Nov 2024 18:04:00 +0800 Subject: [PATCH] =?UTF-8?q?refactor(app):=20=E9=87=8D=E6=9E=84=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=B9=B6=E6=9B=B4=E6=96=B0=20SDK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新 BJCASDK 版本至 1.0.2 - 移除 PinDialog 组件的直接引用- 优化证书管理和签名相关 API 的调用方式 -调整构建配置,设置为 release 模式 - 更新版本记录和相关文档 --- BuildProfile.ets | 4 ++-- src/main/ets/view/SafeView.ets | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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