摘要:
同源策略 ajax不能在不同源的情况下获取数据 jsonp原理 启动服务 使用jQuery的jsonp 3000项目的server.js const Koa = require("koa"); const router = require("koa-router")(); const jsonp = 阅读全文
posted @ 2022-11-23 23:09
ben10044
阅读(32)
评论(0)
推荐(0)
摘要:
Axios 下载 cnpm install axios Axios的常用方法 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" co 阅读全文
posted @ 2022-11-23 22:41
ben10044
阅读(29)
评论(0)
推荐(0)
摘要:
概述 Ajax原理 server.js const Koa = require("koa"); const router = require("koa-router")(); const views = require("koa-views"); const nunjucks = require(" 阅读全文
posted @ 2022-11-23 19:00
ben10044
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号