排行榜数据显示

This commit is contained in:
kron
2025-06-27 10:50:09 +08:00
parent a229b18b31
commit 9f29a92d3d
3 changed files with 25 additions and 14 deletions

View File

@@ -19,6 +19,10 @@ export default defineStore("store", {
deviceName: "",
},
config: {},
rankData: {
rank: [],
ringRank: [],
},
}),
// 计算属性
@@ -30,6 +34,9 @@ export default defineStore("store", {
// 方法
actions: {
updateRank(data = {}) {
this.rankData = { rank: data.rank || [], ringRank: data.ringRank || [] };
},
updateConnect(connect) {
this.remoteConnect = connect;
},