|
@@ -33,7 +33,16 @@ import {
|
|
|
selector: 'edit-rating-star',
|
|
|
templateUrl: './edit-rating-star.component.html',
|
|
|
styleUrls: ['./edit-rating-star.component.scss'],
|
|
|
- imports: [IonIcon],
|
|
|
+ standalone: true,
|
|
|
+ imports: [
|
|
|
+ IonCardContent,
|
|
|
+ IonCard,
|
|
|
+ IonIcon,
|
|
|
+ IonContent,
|
|
|
+ IonButton,
|
|
|
+ IonLabel,
|
|
|
+ IonItem,
|
|
|
+ ],
|
|
|
})
|
|
|
export class EditRatingStarComponent {
|
|
|
@Input() score: number = 0; // 默认分值为0
|