refactor(BUG 541): 优化治疗时间初始化
- 在 AppImmunityManage 和 AppTreatmentManage 组件中,移除了治疗时间的自动初始化 - 在 AppTreatmentManage 组件中,将治疗时间初始化为当前时间的字符串格式
This commit is contained in:
@@ -87,7 +87,6 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.dict.load("yesOrNo", "category", "variety", "source")
|
||||
this.detail.treatmentTime = new Date()
|
||||
this.getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.dict.load("yesOrNo")
|
||||
this.detail.treatmentTime = new Date()
|
||||
this.detail.treatmentTime = this.$moment().format("YYYY-MM-DD HH:mm:ss")
|
||||
this.getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user