- 博客(7)
- 收藏
- 关注
原创 axios post请求
<template> <div> <p>3. 新增图书信息</p> <div> <input type="text" placeholder="书名" v-model="bookObj.bookname"> </div> <div> <input type="text" placeholder="作者" v-model="bookObj.a
2022-05-23 13:29:50
3510
原创 jq的get,post请求的演示
jq的get请求的演示<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title&g
2022-05-23 13:04:31
247
原创 todo案例
<template> <div> <section class="todoapp"> <header class="header"> <h1>todos</h1> <input v-model="todoData" class="new-todo" placeholder="What needs to be done?" autofocus @keydown.enter="AddFn">
2022-05-23 12:55:36
95
原创 【封装axios请求库】
封装axios请求库//01-下载npm i axiossrc/utils/request.js (封装请求库)// 02-封装请求库import axios from "axios"axios.defaults.baseURL = "http://157.122.54.189:9083";export default axiossrc/api/user.js (封装请求函数)// 专门写用户信息相关的接口import request from "@/utils/request.j
2022-05-22 17:51:27
88
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人