http://www.xueh188.top/index.php/archives/16/

https://forum.fastadmin.net/thread/189
这是由于你只部署了HTML代码,但是未添加datetimepicker的事件,所以不生效,你需要在JS中的index方法中添加如下代码:

review:function(){
    //绑定select元素事件
    require(['bootstrap-datetimepicker'], function () {
        var options = {
            format: 'YYYY-MM-DD HH:mm:ss',
            icons: {
                time: 'fa fa-clock-o',
                date: 'fa fa-calendar',
                up: 'fa fa-chevron-up',
                down: 'fa fa-chevron-down',
                previous: 'fa fa-chevron-left',
                next: 'fa fa-chevron-right',
                today: 'fa fa-history',
                clear: 'fa fa-trash',
                close: 'fa fa-remove'
            },
            showTodayButton: true,
            showClose: true
        };
        $('.datetimepicker').parent().css('position', 'relative');
        $('.datetimepicker').datetimepicker(options);
    });
},

的确有这问题,不过不是datetimepicker造成的,而是nice-validator造成的,因为加载在顶部加载了form模块,而form模块依赖了nice-validator模块。你可以尝试给你的input添加一个data-rule="required"属性试试

你可能感兴趣的:(http://www.xueh188.top/index.php/archives/16/)