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.
|
* 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 HAR_VERSION = '1.0.5';
|
||||||
export const BUILD_MODE_NAME = 'release';
|
export const BUILD_MODE_NAME = 'debug';
|
||||||
export const DEBUG = false;
|
export const DEBUG = true;
|
||||||
export const TARGET_NAME = 'default';
|
export const TARGET_NAME = 'default';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -28,6 +28,7 @@ export interface ConfirmOptions {
|
|||||||
export interface ListOptions<T> {
|
export interface ListOptions<T> {
|
||||||
title?: string
|
title?: string
|
||||||
cancel?: Btn
|
cancel?: Btn
|
||||||
|
autoCancel?: boolean
|
||||||
index?: number
|
index?: number
|
||||||
alignment?: DialogAlignment
|
alignment?: DialogAlignment
|
||||||
values: Array<T>
|
values: Array<T>
|
||||||
@ -273,7 +274,7 @@ export class ToolsHelper {
|
|||||||
const dialogTag = ToolsHelper.getUuid()
|
const dialogTag = ToolsHelper.getUuid()
|
||||||
promptAction.openCustomDialog({
|
promptAction.openCustomDialog({
|
||||||
cornerRadius: 0,
|
cornerRadius: 0,
|
||||||
autoCancel: false,
|
autoCancel: options.autoCancel ?? false,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
// height: options.values === undefined ? '20%' :
|
// height: options.values === undefined ? '20%' :
|
||||||
// options.values?.length < 8 ? `${options.values?.length / 16 * 100+10}%` : '50%',
|
// options.values?.length < 8 ? `${options.values?.length / 16 * 100+10}%` : '50%',
|
||||||
|
|||||||
@ -67,7 +67,7 @@ export struct RefreshView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.width('100%')
|
.width('100%')
|
||||||
.height('100%')
|
.layoutWeight(1)
|
||||||
.onStateChange((refreshStatus: RefreshStatus) => {
|
.onStateChange((refreshStatus: RefreshStatus) => {
|
||||||
// ToolsHelper.log('Refresh onStatueChange state is ' + refreshStatus)
|
// ToolsHelper.log('Refresh onStatueChange state is ' + refreshStatus)
|
||||||
})
|
})
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户