beginners, chrome appears when using axios to process return values TypeError: Cannot set property menu of undefined error, I don t know why. The menu variable I have defined in data. use mockjs to intercept. axios part of the code is as fol...
RequestData () { let urllist = [ 5s0 , 5s1 , 5s2 , 5s3 , 5s4 ] for(let i = 0 ; i < urllist.length ; iPP){ let URL = theme.leancloud+ api client getAppPhoto?photoName= +urllist[i]; let map={ method: GET } ...
import axios from axios var instance = axios.create({ headers: { Content-Type : application json , Accept : application vnd.kangxiinfo.api-2.0+json , Cookie : apiType=1;appType=1;appVer=2.0;cType=1; , ...
created in the parent component of vue sends a request to obtain data, stores it in the store of vuex, and dynamically creates elements in the child component. Why is it that no error can be found when the page is refreshed, and the change of the child ...
I have two requests, an and b. When I set up session, through an and then visit B, what is the undefined, request? const express = require( express ); const app = express(); const session = require( express-session ); app.use(session({ s...