出诊计划
This commit is contained in:
parent
85d23c1504
commit
a1fde660d9
@ -5,7 +5,7 @@ import { authStore } from '../utils/auth'
|
||||
export struct DatePickerDialog {
|
||||
@Prop selectedDateString:string = formatDate(new Date(),'YYYY-MM-DD');
|
||||
controller: CustomDialogController;
|
||||
|
||||
@State title:string='请选择出生日期'
|
||||
// 添加回调函数属性
|
||||
private dateSelected: (date: string) => void = () => {};
|
||||
|
||||
@ -37,7 +37,7 @@ export struct DatePickerDialog {
|
||||
this.controller.close()
|
||||
})
|
||||
|
||||
Text('请选择出生日期')
|
||||
Text(this.title)
|
||||
.fontSize(15)
|
||||
.fontColor('#666666')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user