refactor: 移除多个组件中的 Preview 装饰器移除了多个组件中的 @Preview装饰器,包括:
- AutoSignConfirmView - CAPurchaseAgreementScreen - GXCertStateAlertScreen - SelfRegisterView- SignAutoAgreementView - SelectClientView - SelectHospitalView - GXMainView - MainView - CertServiceActivation - EnvManagerView - GXMineView - ArticleDetailView - HomeView - LoginView - RegisterView - ResetView - VerificationView - AboutView - ContactSupportView - MineView - SettingsView - HospitalSearchView- MyHospitalsListView - NotificationDetailView - NotificationListView - NotificationTypeView - GrantActionSheet - OrderItem - SignDetailWebComponent - AddGrantDoctorView - AuthorizeSignAgreementView - AuthorizeSignConfirmView- AuthorizeSignExplanationView - AuthorizeSignOrderListView - AuthorizeSignQRCodeView - DescView - GrantRelationshipView - SignAutoView - DustinFolderView - SignedFolderView - UnSignFolderView - DustbinView - SignedView - UnSignView - SearchDustbinView - SearchSignedView - SearchUnSignView - AuthorizeSignOrderDetailView - YWQHomeView 移除 @Preview装饰器可以减少代码冗余,提高代码可读性和维护性。
这个提交包含在:
父节点
7f9fa9e494
当前提交
bc46bcb6d3
@ -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 = 'debug';
|
export const BUILD_MODE_NAME = 'release';
|
||||||
export const DEBUG = true;
|
export const DEBUG = false;
|
||||||
export const TARGET_NAME = 'default';
|
export const TARGET_NAME = 'default';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import { XDialogCommon } from './XDialogCommon'
|
|||||||
import { XDialogController } from './XDialogController'
|
import { XDialogController } from './XDialogController'
|
||||||
|
|
||||||
|
|
||||||
@Preview
|
|
||||||
@Component
|
@Component
|
||||||
export struct XDialogList {
|
export struct XDialogList {
|
||||||
controller: XDialogController | null = null
|
controller: XDialogController | null = null
|
||||||
|
|||||||
@ -11,7 +11,6 @@ import { SZYXLocalStorageHelper } from '../utils/SZYXLocalStorageHelper';
|
|||||||
import { SZYXLocalStorageKeys } from '../utils/SZYXLocalStorageKeys';
|
import { SZYXLocalStorageKeys } from '../utils/SZYXLocalStorageKeys';
|
||||||
|
|
||||||
@Entry({ routeName: 'XWebview' })
|
@Entry({ routeName: 'XWebview' })
|
||||||
@Preview
|
|
||||||
@Component
|
@Component
|
||||||
export struct XWebview {
|
export struct XWebview {
|
||||||
// 手机号
|
// 手机号
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
import { ToolsHelper } from '../utils/ToolsHelper'
|
import { ToolsHelper } from '../utils/ToolsHelper'
|
||||||
|
|
||||||
@Preview
|
|
||||||
@Component
|
@Component
|
||||||
export struct RefreshView {
|
export struct RefreshView {
|
||||||
@Link isLoading: boolean
|
@Link isLoading: boolean
|
||||||
|
|||||||
@ -8,7 +8,6 @@ export interface TitleBarBtn {
|
|||||||
onClick: () => void
|
onClick: () => void
|
||||||
}
|
}
|
||||||
|
|
||||||
@Preview
|
|
||||||
@Component
|
@Component
|
||||||
export struct SafeView {
|
export struct SafeView {
|
||||||
pageInfos?: NavPathStack
|
pageInfos?: NavPathStack
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户