mirror of
https://gitee.com/openharmony/applications_settings
synced 2024-11-23 06:20:01 +00:00
设置菜单中,开启关闭蓝牙开关,设备名称处高亮和置灰状态不会实时刷新
Signed-off-by: zhangxCode <zhangxiong076@chinasoftinc.com>
This commit is contained in:
parent
f9a64250bd
commit
ddabc839d3
@ -32,7 +32,7 @@ export default struct DeviceNameEntryComponent {
|
||||
@State isTouched: boolean = false;
|
||||
private settingTitle: string | Resource = '';
|
||||
private settingUri: string = '';
|
||||
private isEnabled: boolean = true
|
||||
@Link isEnabled: boolean;
|
||||
private onArrowClick?: () => void;
|
||||
private heights = $r('app.float.wh_value_70');
|
||||
private image_wh = $r('app.float.wh_value_50');
|
||||
|
@ -166,7 +166,7 @@ struct DeviceNameComponent {
|
||||
settingArrow: "",
|
||||
settingArrowStyle: '',
|
||||
settingUri: '',
|
||||
isEnabled: this.isEnabled,
|
||||
isEnabled: $isEnabled,
|
||||
heights: ($r('app.float.wh_value_48')),
|
||||
fontSize: ($r('app.float.font_16'))
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user