Commit 072e2645 authored by liujiangnan's avatar liujiangnan

fix: part跳转问题

parent 26b82132
......@@ -646,7 +646,11 @@ export default class NewClass extends middleLayerBase {
setData(key: string, data: any) {
const obj = this.data[key];
if (typeof data == "object") {
this.data[key] = { ...obj, ...data };
if (key === "NJ_game_select" && this.data[key] && this.data[key].folderId != data.folderId) {
this.data[key] = data;
} else {
this.data[key] = { ...obj, ...data };
}
} else {
this.data[key] = data;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment