Angularjs 角度Ui引导模式键盘=错误,不工作

Angularjs 角度Ui引导模式键盘=错误,不工作,angularjs,angular-ui-bootstrap,bootstrap-modal,Angularjs,Angular Ui Bootstrap,Bootstrap Modal,我一直在努力使一个模式保持开放。但键盘选项似乎不起作用。我试着这样做,就像我以前做过很多次一样 var modalInstance = $uibModal.open({ templateUrl:'site.html' controller: 'contorller', windowClass: 'modal-sm', keyboard: false, backdrop: 'st

我一直在努力使一个模式保持开放。但键盘选项似乎不起作用。我试着这样做,就像我以前做过很多次一样

var modalInstance = $uibModal.open({
            templateUrl:'site.html'
            controller: 'contorller',
            windowClass: 'modal-sm',
            keyboard: false,
            backdrop: 'static',
        });
我觉得这是一个愚蠢的错误,所以有人能说出我在干什么吗

旁注。background=static工作正常,因此只有当用户按下esc按钮时,模式才会关闭