摘要: #版本1 ##主要知识点 axios数据的获取&传送 数组数据(里面装对象)的显示 axios链接中未知变量的获取方式 点击替换文本框中内容,形参~(那行唯一的那个变量就是形参) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8 阅读全文
posted @ 2021-04-06 21:44 ice猫猫3 阅读(181) 评论(0) 推荐(0) 编辑
摘要: ###使用箭头函数可以访问上层的this ###否则需要使用新定义的that进行暂存 ###结果: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" co 阅读全文
posted @ 2021-04-06 13:33 ice猫猫3 阅读(618) 评论(0) 推荐(0) 编辑
摘要: ###用于测试的接口地址 https://github.com/Alana33/testApi ###axios中文文档(使用教程) http://www.axios-js.com/zh-cn/docs/ ###获取结果 ###上传结果 <!DOCTYPE html> <html lang="en" 阅读全文
posted @ 2021-04-06 12:29 ice猫猫3 阅读(223) 评论(0) 推荐(0) 编辑