百度前端架构师面试题—全栈实现图书销量排行榜
export default class FstToThrdCtgy {
static store = ctgyStore()
static storeRefs = storeToRefs(FstToThrdCtgy.store)
// static firstCtgyActiveIndex: Ref<number> = ref(0) T1
static async getFirstCtgys() {
await this.store.findFirstCtgyList()
this.storeFirstCtgy(this.store.firstCtgyActiveIndex + 1)
}
.....
}