Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 角度引导UI模式未显示_Javascript_Angularjs_Twitter Bootstrap_Angular Ui Bootstrap - Fatal编程技术网

Javascript 角度引导UI模式未显示

Javascript 角度引导UI模式未显示,javascript,angularjs,twitter-bootstrap,angular-ui-bootstrap,Javascript,Angularjs,Twitter Bootstrap,Angular Ui Bootstrap,我试图使用angular ui引导中的模式,但它没有显示,尽管当显示模式的代码执行时窗口模糊 模式代码为: <script type="text/ng-template" id="test.html"> <div class="modal-header"> <h3>XXXX</h3> </div> <div class="modal-body"> <p>X

我试图使用angular ui引导中的模式,但它没有显示,尽管当显示模式的代码执行时窗口模糊

模式代码为:

<script type="text/ng-template" id="test.html">
    <div class="modal-header">
        <h3>XXXX</h3>
    </div>

    <div class="modal-body">
        <p>XXXX</p>
    </div>

    <div class="modal-footer">
        xxxxxx
    </div>
</script>

上述代码有问题吗?

我也有同样的问题,并且使用:

windowClass : 'show'

在$modal.open函数中实现了这一点。

我遇到了同样的问题,并使用了:

windowClass : 'show'

在$modal.open函数中实现了这一点。

AngularUI modal的文档中说

windowClass—要添加到模式窗口模板的其他CSS类


您正在使用的“模态”是哪个类。这个类是你定义的吗?这不应该是个问题,但请尝试删除它。

AngularUI modal的文档中说

windowClass—要添加到模式窗口模板的其他CSS类


您正在使用的“模态”是哪个类。这个类是你定义的吗?这不应该是个问题,但请尝试删除它。

我的问题是,当我应该只加载“ui bootstrap tpls.min.js”时,我同时包含了两个js文件(ui-bootstrap.min.js和ui-bootstrap tpls.min.js)。。在那之后,它就像一个魔咒。

我的问题是,当我应该只加载“ui bootstrap tpls.min.js”时,我同时包含了两个js文件(ui-bootstrap.min.js和ui-bootstrap tpls.min.js)。在这之后,它就像一个符咒一样工作。

您是否得到任何到DevTools控制台的输出?代码似乎很好。第一次使用AngularUI?是否已通过包含JS文件很好地安装了lib?哪个存储库?从这里手动下载,您有没有得到任何到DevTools控制台的输出?代码似乎很好。第一次使用AngularUI?是否已通过包含JS文件很好地安装了lib?哪个存储库?从这里手动下载,
windowClass : 'show'