Browse Source

fix: simple list page

RyaneMax 9 months ago
parent
commit
af221e4141
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/study/case-js-module/case-parse/README.md

+ 2 - 1
src/modules/study/case-js-module/case-parse/README.md

@@ -25,13 +25,14 @@ Parse.serverURL = "http://web2023.fmode.cn:9999/parse"; // 设置serverURL
 
 
 # 实现简单的列表加载
 # 实现简单的列表加载
 
 
+- pet.page.html
 ``` html
 ``` html
 <ion-card *ngFor="let pet of petList">
 <ion-card *ngFor="let pet of petList">
     {{pet.get("name")}}
     {{pet.get("name")}}
 </ion-card>
 </ion-card>
 ```
 ```
 
 
-
+- pet.page.ts
 ``` ts
 ``` ts
 ngOnInit() {
 ngOnInit() {
     this.loadPets()
     this.loadPets()