Bootstrap introduces bootstrap-table.js to report error

what is the reason for this

The

code is as follows:
< link href= "~ / Script/bootstrap/css/bootstrap.css" rel= "stylesheet" / >

<link href="~/Script/bootstrap/css/bootstrap-table.css" rel="stylesheet" />
<link href="~/Script/EasyUI/themes/default/easyui.css" rel="stylesheet" />
<link href="~/Script/EasyUI/themes/icon.css" rel="stylesheet" />
<link href="~/Style/timeline.css" rel="stylesheet" />
<script src="~/Script/Common/jquery-3.3.1.min.js"></script>

<script type="text/javascript" src="~/Script/bootstrap/js/bootstrap.min.js"></script>
@*3bootstrap table*@
<script src="~/Script/bootstrap/js/bootstrap-table.js"></script>
<script src="~/Script/bootstrap/js/bootstrap-table-zh-CN.js"></script>

**html**
<fieldset>
   <legend></legend>                    
   <table class="table table-hover" data-toggle="table" id="powerTable"></table>
</fieldset>

$(document).ready(function () {
    //
    initTable();
});
function initTable() {
    $("-sharppowerTable").bootstrapTable({
        url: "/Project/Project/GetPowerList", // url
        toolbar: "-sharptoolbar",
        cache: false, //  false  AJAX  true
        striped: true,  //false
        sidePagination: "server", //
        queryParams: { PROJECTID: $("-sharpID").val() },
        sortName: "ADDTIME", // 
        sortOrder: "desc", // 
        columns: [
            {
                checkbox: true, // 
                align: "center" // 
            }, {
                field: "ID", // jsonname
                visible: false //
            }, {
                field: "USERID", // jsonname
                title: "", // 
                align: "center", // 
                valign: "middle" // 
            }, {
                field: "POWER",
                title: "",
                align: "center",
                valign: "middle",
                formatter: function (value, row, index) { // 

                }
            }, {
                field: "ADDTIME",
                title: "",
                align: "center",
                valign: "middle",
                formatter: function (value, row, index) { // 

                }
            }, {
                title: "",
                align: "center",
                valign: "middle",
                width: 160, // px
                formatter: function (value, row, index) {
                    return "<button class="btn btn-primary btn-sm" onclick="del(\"" + row.stdId + "\")"></button>";
                }
            }
        ],
        onLoadSuccess: function () {  //
            console.info("");
        },
        onLoadError: function () {  //
            console.info("");
        }

    });
}
            
            
            
            
Mar.30,2021

try using cdn. It feels like there is a problem with the path


problem solving. Put the order of entering bootstrap-table.js in front of bootstrap-min.js

.
Menu