fix(cert): 优化证书下载和自动签名功能
- 修改了 AutoSignConfirmView 中的页面跳转逻辑 - 更新了多个组件中的 keyGenerator 实现 -调整了部分 UI 样式,如文本大小和布局权重- 增加了对未下载证书的提示 - 修复了 SignManager 中的 stopSignAuto 方法
这个提交包含在:
父节点
bc46bcb6d3
当前提交
1e121177ae
@ -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 = 'release';
|
||||
export const DEBUG = false;
|
||||
export const BUILD_MODE_NAME = 'debug';
|
||||
export const DEBUG = true;
|
||||
export const TARGET_NAME = 'default';
|
||||
|
||||
/**
|
||||
|
||||
@ -28,6 +28,7 @@ export interface ConfirmOptions {
|
||||
export interface ListOptions<T> {
|
||||
title?: string
|
||||
cancel?: Btn
|
||||
autoCancel?: boolean
|
||||
index?: number
|
||||
alignment?: DialogAlignment
|
||||
values: Array<T>
|
||||
@ -273,7 +274,7 @@ export class ToolsHelper {
|
||||
const dialogTag = ToolsHelper.getUuid()
|
||||
promptAction.openCustomDialog({
|
||||
cornerRadius: 0,
|
||||
autoCancel: false,
|
||||
autoCancel: options.autoCancel ?? false,
|
||||
width: '100%',
|
||||
// height: options.values === undefined ? '20%' :
|
||||
// options.values?.length < 8 ? `${options.values?.length / 16 * 100+10}%` : '50%',
|
||||
|
||||
@ -67,7 +67,7 @@ export struct RefreshView {
|
||||
}
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
.layoutWeight(1)
|
||||
.onStateChange((refreshStatus: RefreshStatus) => {
|
||||
// ToolsHelper.log('Refresh onStatueChange state is ' + refreshStatus)
|
||||
})
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户