1.创建utils/request.js
import cofig from './config.js'
export default (url,data={
},method='GET')=>{
return new Promise(
1.创建utils/request.js
import cofig from './config.js'
export default (url,data={
},method='GET')=>{
return new Promise(