suchen

Heim  >  Fragen und Antworten  >  Hauptteil

Javascript - Das modale Bootstrap-Feld wird nicht angezeigt. Was ist los?

<span class="message-delete" data-toggle="modal" data-target="#del-dialog" v-on:click="nowIndex=index">删除</span>
<p role="dialog" class="modal fade bs-example-modal-lg" id="del-dialog"> <!--class="modal fade bs-example-modal-lg"-->
    <p class="modal-dialog">
        <p class="modal-content">
            <p class="modal-header">
                <h4 class="modal-title">确认删除么?</h4>
                <button type="button" class="close" data-dismiss="modal">
                    <span>&times;</span>
                </button>
            </p>
            <p class="modal-body text-right">
                <button data-dismiss="modal" class="btn btn-primary btn-sm">取消</button>
                <button data-dismiss="modal" class="btn btn-danger btn-sm" v-on:click="deleteMsg(nowIndex)">确认</button>
            </p>
        </p>
    </p>
</p>
大家讲道理大家讲道理2768 Tage vor403

Antworte allen(1)Ich werde antworten

  • PHP中文网

    PHP中文网2017-05-19 10:49:06

    代码放出来看看。或者你把p上写一个display:block试试。

    Antwort
    0
  • StornierenAntwort