@ledvance/group-ui-biz-bundle 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@ const FlagPage = () => {
|
|
|
54
54
|
workModeDpCode: params.workModeCode,
|
|
55
55
|
switchLedDpCode: params.switchLedCode,
|
|
56
56
|
workMode: WorkMode.Scene,
|
|
57
|
-
sceneStatus: !params.
|
|
57
|
+
sceneStatus: !params.isStripLight && params.sceneDataCode ? {
|
|
58
58
|
sceneDataDpCode: params.sceneDataCode
|
|
59
59
|
} : undefined,
|
|
60
60
|
drawToolStatus: params.isStripLight && params.drawToolLight ? {
|
|
@@ -79,10 +79,6 @@ const FlagPage = () => {
|
|
|
79
79
|
return -1
|
|
80
80
|
}, [JSON.stringify(flagState), JSON.stringify(state.flags)])
|
|
81
81
|
|
|
82
|
-
useEffect(() =>{
|
|
83
|
-
console.log(flagState, '< --- flagstate')
|
|
84
|
-
console.log(state.flags, '< --- state.flags')
|
|
85
|
-
}, [flagState, JSON.stringify(state.flags)])
|
|
86
82
|
useEffect(() => {
|
|
87
83
|
getRemoteFlagInfo().then()
|
|
88
84
|
if (params.getRemoteMoodList && !params.isStripLight) {
|
|
@@ -169,7 +165,6 @@ const FlagPage = () => {
|
|
|
169
165
|
...state.flags,
|
|
170
166
|
...state.moods
|
|
171
167
|
], 'id')
|
|
172
|
-
console.log(useIds, '< --- useIds')
|
|
173
168
|
const idRange = range(0, 256)
|
|
174
169
|
const unuseId = last(difference(idRange, useIds))
|
|
175
170
|
if (unuseId !== undefined) {
|