Bootstrap Table出现错误,救教一下

BootstrapTable出现以下信息,有人指教一下吗?

TypeError: Cannot set properties of undefined (setting 'BootstrapTable')
at c:\users\hubin\source\repos\lssysqls\lssysqls\wwwroot\lib\bootstrap-table-1.18.2\bootstrap-table.js:7371:40
at c:\users\hubin\source\repos\lssysqls\lssysqls\wwwroot\lib\bootstrap-table-1.18.2\bootstrap-table.js:4:102
at c:\users\hubin\source\repos\lssysqls\lssysqls\wwwroot\lib\bootstrap-table-1.18.2\bootstrap-table.js:5:3
TypeError: Cannot read properties of undefined (reading 'fn')
at c:\users\hubin\source\repos\lssysqls\lssysqls\wwwroot\lib\bootstrap-table-1.18.2\locale\bootstrap-table-zh-cn.js:686:25
at c:\users\hubin\source\repos\lssysqls\lssysqls\wwwroot\lib\bootstrap-table-1.18.2\locale\bootstrap-table-zh-cn.js:4:78
at c:\users\hubin\source\repos\lssysqls\lssysqls\wwwroot\lib\bootstrap-table-1.18.2\locale\bootstrap-table-zh-cn.js:5:3
ReferenceError: $ is not defined

jquery正确导入了吗?且放到bootstrap.js之前。

bootstarp引入问题吧

是放在前面的,这种方式能正确显示


<table data-toggle="table" class="table-sm"
           data-url="../Data/LsSyUpList.json">
        <thead>
            <tr>
                <th data-field="id">Item ID</th>
                <th data-field="name">Item name</th>
                <th data-field="price">Item price</th>
            </tr>
        </thead>
    </table>

但以下通过ID帮定就不行了,同样的数据地址


<table id="table" class="table-sm"> 
</table>    

<script type="text/javascript">


    $('#table').bootstrapTable({
        url: '../Data/LsSyUpList.json',
        columns: [{
            field: 'id',
            title: 'Item ID'
        }, {
            field: 'name',
            title: 'Item Name'
        }, {
            field: 'price',
            title: 'Item Price'
        }]
    })
}
```c#



```

要这个顺序才对!就正常了!

img