摘要:
参考网址:https://www.npmjs.com/package/axios 1.axios发送get请求 const axios = require('axios'); 1.1.参数写在路径后面 // Make a request for a user with a given ID axio
阅读全文
摘要:
1.storage文件夹下面的index.js文件 const SRORAGE_KEY = 'mall'; export default { getStorage(){ return JSON.parse(window.sessionStorage.getItem(SRORAGE_KEY)) },
阅读全文