mirror of
https://gitee.com/openharmony/applications_call
synced 2024-11-23 06:19:44 +00:00
代码告警
Signed-off-by: zhouhongli2023 <zhouhongli5@huawei.com>
This commit is contained in:
parent
30dda440eb
commit
360a5582cc
@ -26,7 +26,7 @@ export default struct FuncBtn {
|
||||
@State iconActiveUrl: string = '';
|
||||
@State @Watch('iconClassName') isActive: boolean = false;
|
||||
@State @Watch('iconClassName') isDisable: boolean = false;
|
||||
@State iconText: string= '';
|
||||
@State iconText: string = '';
|
||||
@State textColor: string = 'rgb(255, 255, 255)';
|
||||
btnClick: Function = null;
|
||||
|
||||
|
@ -24,7 +24,7 @@ export default struct InComDialog {
|
||||
cancel: () => void;
|
||||
confirm: (msg) => void;
|
||||
cancelHandle: () => void;
|
||||
List: [];
|
||||
list: [];
|
||||
|
||||
build() {
|
||||
GridRow({ columns: { xs: 4, sm: 4, md: 8, lg: 12 }, gutter: 12 }) {
|
||||
@ -43,7 +43,7 @@ export default struct InComDialog {
|
||||
})
|
||||
|
||||
Column() {
|
||||
ForEach(this.List, (item) => {
|
||||
ForEach(this.list, (item) => {
|
||||
Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) {
|
||||
Text(item.msg)
|
||||
.width('100%')
|
||||
|
@ -65,7 +65,7 @@ export default struct IncomingCom {
|
||||
},
|
||||
cancelHandle: () => {},
|
||||
// @ts-ignore
|
||||
List: this.msgList
|
||||
list: this.msgList
|
||||
}),
|
||||
cancel: () => {},
|
||||
customStyle: true
|
||||
|
@ -20,12 +20,12 @@ import LogUtils from '../common/utils/LogUtils';
|
||||
const TAG = 'MainAbility';
|
||||
|
||||
export default class MainAbility extends Ability {
|
||||
onCreate(want, launchParam) {
|
||||
onCreate(want, launchParam): void {
|
||||
LogUtils.i(TAG, 'onCreate');
|
||||
globalThis.settingsAbilityContext = this.context;
|
||||
}
|
||||
|
||||
onDestroy() {
|
||||
onDestroy(): void {
|
||||
LogUtils.i(TAG, 'onDestroy!');
|
||||
}
|
||||
|
||||
@ -42,17 +42,17 @@ export default class MainAbility extends Ability {
|
||||
});
|
||||
}
|
||||
|
||||
onWindowStageDestroy() {
|
||||
onWindowStageDestroy(): void {
|
||||
// Main window is destroyed, release UI related resources
|
||||
LogUtils.i(TAG, 'onWindowStageDestroy!');
|
||||
}
|
||||
|
||||
onForeground() {
|
||||
onForeground(): void {
|
||||
// Ability has brought to foreground
|
||||
LogUtils.i(TAG, 'onForeground!');
|
||||
}
|
||||
|
||||
onBackground() {
|
||||
onBackground(): void {
|
||||
// Ability has back to background
|
||||
LogUtils.i(TAG, 'onBackground!');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user