浏览代码

feat(agent-create): 修改智能体创建页面的上传功能

18460000105 3 月之前
父节点
当前提交
d528263da0

+ 0 - 4
novel-app/src/app/component/article-card/article-card.component.html

@@ -1,11 +1,7 @@
 <div class="card">
-  <!-- <img [src]="card.get('image')[0]" alt="Image"> -->
   <div class="content">
     <h3>{{ card.get('title') }}</h3>
     
     <p>作者:{{ card.get('username') }}</p> <p>{{ card.get('date') }}</p>
-    <!-- <p>
-      阅读量: {{ card.get('views') }} &nbsp; 赞: {{ card.get('likes') }}
-    </p> -->
   </div>
 </div>

+ 2 - 4
novel-app/src/app/component/article-card/article-card.component.ts

@@ -16,14 +16,12 @@ export class ArticleCardComponent  implements OnInit {
   constructor() { }
 
   ngOnInit() {}
-  /**
-   * controller for dropdown visibility
-   */
+
   dropdownVisible = false;
 
   toggleDropdown() {
     this.dropdownVisible = !this.dropdownVisible;
   }
 
-  @Input() card: any; // 接收父组件传递的卡片数据
+  @Input() card: any; 
 }