liyayan hace 5 años
padre
commit
365e57134b

+ 4 - 1
src/app/shared/compenents/date-selection/date-selection.component.ts

@@ -2,6 +2,9 @@ import { Component, OnInit, EventEmitter, Output } from '@angular/core';
 import { FormGroup, FormControl } from '@angular/forms';
 //格式化日期的第三方模块
 import sd from 'silly-datetime';
+/**
+ * 选择日期组件
+ */
 @Component({
   selector: 'date-selection',
   templateUrl: './date-selection.component.html',
@@ -50,7 +53,7 @@ export class DateSelectionComponent implements OnInit {
 		return this.theFormGroup.get('dateWithPickerOptionsHandler');
 	}
 	temp(){
-		console.log('temp')
+		console.log('temp');
 	}