已合并
fix theme samples #10743
sunqi创建于 7月29日
fix theme samples #10743
已合并
共 2 个文件变更+2-2
Mcode/DocsSample/ArkUISample/ScrollableComponent/entry/src/main/ets/entryability/EntryAbility.ets+1-1
| @@ -27,7 +27,7 @@ export default class EntryAbility extends UIAbility { | |||
| 27 | hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); | 27 | hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | - onDestroy(): void { | 30 | + onDestroy(): undefined { |
| 31 | hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); | 31 | hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); |
| 32 | } | 32 | } |
| 33 | 33 | ||
| @@ -21,7 +21,7 @@ import { ComponentCard } from '../../common/Card'; | |||
| 21 | // @Entry | 21 | // @Entry |
| 22 | @Component | 22 | @Component |
| 23 | export struct SwiperPageSwitchMethod { | 23 | export struct SwiperPageSwitchMethod { |
| 24 | - private swiperBackgroundColors: Color[] = [Color.Blue, Color.Brown, Color.Gray, Color.Green, Color.Orange, | 24 | + private swiperBackgroundColors: Color[] = [Color.Blue, Color.Gray, Color.Green, Color.Orange, Color.Brown, |
| 25 | Color.Pink, Color.Red, Color.Yellow]; | 25 | Color.Pink, Color.Red, Color.Yellow]; |
| 26 | private swiperAnimationMode: (SwiperAnimationMode | boolean | undefined)[] = [undefined, true, false, | 26 | private swiperAnimationMode: (SwiperAnimationMode | boolean | undefined)[] = [undefined, true, false, |
| 27 | SwiperAnimationMode.NO_ANIMATION, SwiperAnimationMode.DEFAULT_ANIMATION, SwiperAnimationMode.FAST_ANIMATION]; | 27 | SwiperAnimationMode.NO_ANIMATION, SwiperAnimationMode.DEFAULT_ANIMATION, SwiperAnimationMode.FAST_ANIMATION]; |