Skip to content

Commit

Permalink
Merge pull request #160 from hezifengg/heizfeng
Browse files Browse the repository at this point in the history
暂时隐藏夜灯模式和将plc本地组网修改为网关重启
  • Loading branch information
Faxxicy authored Oct 17, 2024
2 parents 44c7128 + bdc1fbf commit fb00cbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/panels/IntelligentGatewayV4/Common/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const GateWay = (props) => {
'',
],
[
'PLC本地组网',
'网关重启',
'broadcast',
() => {},
'',
Expand Down Expand Up @@ -141,7 +141,7 @@ const GateWay = (props) => {
if (value) {
Dialog.confirm({
title: '提示',
content: "开启后整体场景执行速度稍微变慢",
content: "确认重启网关吗?",
cancelText: '取消',
confirmText: '确认',
onConfirm: () => {
Expand Down
6 changes: 3 additions & 3 deletions src/panels/LightsV4/Common/MoreSetting/MoreSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function MoreSetting({ deviceData, doControlDeviceData, sdk }) {

const [nightLightTime, setNightLightTime] = useState({
startTime: '22:00',
endTime: '06:00',
endTime: '07:00',
});

const { data: TimerList = [], isValidating, mutate } = useSWR('AppGetTimerList', async () => {
Expand Down Expand Up @@ -342,7 +342,7 @@ export function MoreSetting({ deviceData, doControlDeviceData, sdk }) {
</List.Item>
)}
</List>
<List header={t('夜灯设置')}>
{/* <List header={t('夜灯设置')}>
<List.Item
extra={(
<Switch
Expand Down Expand Up @@ -416,7 +416,7 @@ export function MoreSetting({ deviceData, doControlDeviceData, sdk }) {
</List.Item>
</>
)}
</List>
</List> */}

</div>
</>
Expand Down

0 comments on commit fb00cbb

Please sign in to comment.