但我需要单独实现它只用于giftcard.When,我单独为礼品卡实现,而work.This不是我的代码import { NgModule } from '@angular/core';import { GiftcardComponent } from '.RouterModule]})
export class
在我的项目中,我有两个组件,如内容和视图。我使用service.ts来连接(扩展)这两个组件。在content component中,我有一个方法。当我调用该方法时,视图组件中将显示一个div。两者都使用service.ts进行交互。我尝试过布尔方法,但它不起作用。} from '@angular/core'; providedIn: 'root'export class FilterServi