2025/9/26/1:02

This commit is contained in:
2025-09-26 01:02:43 +08:00
parent c1b7a1174d
commit 578d49826b
10 changed files with 199 additions and 49 deletions

View File

@@ -0,0 +1,26 @@
Component({
data: {
},
lifetimes: {
attached() {
// 组件被挂载时执行
const id = this.properties.id; // 从 properties 获取
this.getCardDetail(id);
}
},
properties: {
id: {
type: String,
value: ''
}
},
methods: {
getCardDetail(id: string) {
console.log("切换到:", id);
},
getArticleComments(id:string){
}
}
})