摘要:
axios <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>axios</title> </head> <body> <!-- <script src="https://unpkg.com/axios/d 阅读全文
posted @ 2023-03-30 16:54
漁夫
阅读(18)
评论(0)
推荐(0)
摘要:
多个Ajax请求的并发执行 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>多个 Ajax 请求的并发执行</title> <style> /* css reset */ * { padding: 0; 阅读全文
posted @ 2023-03-30 16:10
漁夫
阅读(46)
评论(0)
推荐(0)
摘要:
搜索提示 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <title>搜索提示</title> </head> <body> <input id="search" type="text"> <ul id="result 阅读全文
posted @ 2023-03-30 14:59
漁夫
阅读(27)
评论(0)
推荐(0)
摘要:
使用Promise改造封装好的AJAX 修改index.js import Ajax from 'ajax.js'; import { ERROR_ABOUT } from './封装AJAX4'; import { ERROR_TIMEOUT } from './封装AJAX4'; import 阅读全文
posted @ 2023-03-30 13:59
漁夫
阅读(25)
评论(0)
推荐(0)
摘要:
封装AJAX 封装Ajax <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>封装Ajax</title> </head> <body> <script type="module"> /* const url = 'https:/ 阅读全文
posted @ 2023-03-30 13:12
漁夫
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号