<div >
    <table >
        <td>编号</td>
        <td>类型</td>
            <td>操作</td>
        </tr>

    </table>
</div>
<script>

    window.onload = function LoadFun() {
        $.ajax({
            url: 'https://localhost:44374/api/carinfo/gettype',
            type: 'get',
            success: function (d) {
                console.log(d);
                var a = "";
      
                $(d).each(function () {
                    a += '<tr><td>' + this.Id + '</td> <td>' + this.CarTypeName + '</td><td><input ).append(a)
            }
        })
    }
</script>

相关文章:

  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2021-12-27
  • 2022-12-23
  • 2021-07-27
  • 2021-08-30
  • 2022-12-23
  • 2021-10-29
相关资源
相似解决方案