liyayan 5 年之前
父節點
當前提交
365e57134b
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/app/shared/compenents/date-selection/date-selection.component.ts

+ 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');
 	}