首先下载扩展live server

重新加载后 右下方工具栏会多出一个go live

点击go live,会默认启动chome,地址  http://127.0.0.1:5500

js脚本:

$.ajax({
            type: "GET",
            dataType: "JSON",
            contentType: "application/json; charset=utf-8",
            async: true, //异步加载
            url: '../data/RealTimeMarket/systemLoadTable.json',
            data: {  },
            success: function (e) {
               alert('get:请求本地json成功')
            }
        });

post 会报405错误,请使用get