提交 2a678e58 编写于 作者: S swx1239486

arkts整改

Signed-off-by: Nswx1239486 <songqinqin4@huawei.com>
上级 a142dd80
......@@ -230,10 +230,16 @@ export class BreakpointSystem {
}
public unregister() :void{
if(smListener){
this.smListener.off("change", this.isBreakpointSM)
}
if(mdListener){
this.mdListener.off("change", this.isBreakpointMD)
}
if(lgListener){
this.lgListener.off("change", this.isBreakpointLG)
}
}
}
```
......
......@@ -60,6 +60,12 @@ struct Index {
```
```typescript
//核心代码 SettingList.ets
import { MainItem } from '../components/MainItem'
import { ItemGroup } from '../components/ItemGroup'
import { SearchBox } from '../components/SearchBox'
import { MoreConnectionsItem } from '../moreconnections/MoreConnectionsItem'
import { WlanSettingItem } from '../wlan/WlanSettingItem'
class ItemObj {
title?: Resource
tag?: string
......@@ -115,12 +121,6 @@ let aboutTab:ItemObj={
icon: $r('app.media.aboutDevice'),
}
import { MainItem } from '../components/MainItem'
import { ItemGroup } from '../components/ItemGroup'
import { SearchBox } from '../components/SearchBox'
import { MoreConnectionsItem } from '../moreconnections/MoreConnectionsItem'
import { WlanSettingItem } from '../wlan/WlanSettingItem'
@Component
export struct SettingList {
@Builder
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册