fix: preserve favorite identity and ready lifecycle

This commit is contained in:
wxs
2026-07-17 16:41:11 +08:00
parent 8ca9f95583
commit ddf9a75e82
4 changed files with 203 additions and 44 deletions
+2
View File
@@ -610,6 +610,7 @@ describe("market-dom-sync", () => {
{
authorId: "111",
authorName: "达人 A",
coreUserId: "core-111",
singleVideoAfterSearchRate: "0.02%"
},
{
@@ -625,6 +626,7 @@ describe("market-dom-sync", () => {
}
expect(table.rows.map((row) => row.authorId)).toEqual(["111", "222"]);
expect(table.rows.map((row) => row.coreUserId)).toEqual(["core-111", undefined]);
expect(table.rows[0].rates).toEqual({
singleVideoAfterSearchRate: "0.02%"
});