@shaxpir/duiduidui-models 1.10.0 → 1.10.1
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.
|
@@ -35,6 +35,9 @@ function areSearchStatesEqual(a, b) {
|
|
|
35
35
|
// Compare senseRank
|
|
36
36
|
if (a.senseRank !== b.senseRank)
|
|
37
37
|
return false;
|
|
38
|
+
// Compare phraseId
|
|
39
|
+
if (a.phraseId !== b.phraseId)
|
|
40
|
+
return false;
|
|
38
41
|
// Compare conditions using JSON serialization (with sorted keys for consistency)
|
|
39
42
|
const conditionsA = a.conditions ? JSON.stringify(sortConditions(a.conditions)) : undefined;
|
|
40
43
|
const conditionsB = b.conditions ? JSON.stringify(sortConditions(b.conditions)) : undefined;
|