diff --git a/src/apps/AppAskForm/components/FormSetting.vue b/src/apps/AppAskForm/components/FormSetting.vue index ad1fe878..feb376b8 100644 --- a/src/apps/AppAskForm/components/FormSetting.vue +++ b/src/apps/AppAskForm/components/FormSetting.vue @@ -70,16 +70,8 @@
{{ type === 'edit' ? '发布' : '确定' }}
- - - + + @@ -89,6 +81,14 @@ export default { data () { return { + params: { + year: true, + month: true, + day: true, + hour: true, + minute: true, + second: true + }, tips: '', isShowModal: false, actionNotice: true, @@ -121,8 +121,7 @@ export default { methods: { onTimeChange (e) { - this.isShowTime = false - this.periodValidityEndTime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM:ss') + this.periodValidityEndTime = `${e.year}-${e.month}-${e.day} ${e.hour}:${e.minute}:${e.second}` }, back () { diff --git a/src/apps/AppAskForm/components/list.vue b/src/apps/AppAskForm/components/list.vue index 2b2953db..44eed4c0 100644 --- a/src/apps/AppAskForm/components/list.vue +++ b/src/apps/AppAskForm/components/list.vue @@ -29,7 +29,7 @@ - +