edit
This commit is contained in:
16
src/app/shared/widget/currency-cny/curreny-cny.widget.ts
Normal file
16
src/app/shared/widget/currency-cny/curreny-cny.widget.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
|
||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||
|
||||
@Component({
|
||||
selector: 'st-widget-currency-chy',
|
||||
template: ` {{ value | currency }} `,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class STCurrencyCHYWidget {
|
||||
static readonly KEY = 'currency-chy';
|
||||
|
||||
value!: number;
|
||||
|
||||
constructor() {}
|
||||
}
|
||||
Reference in New Issue
Block a user