use webpack to open the front page on the local localhost:8080 port proxy is configured like this: devServer: { port: 8080, contentBase: . dist , proxy: { abc : { target: http: 122.79...
function Word(words){ this.words = words; } Word.prototype = { alert(){ alert(this.words); } } var w = new Word("hello world"); w....
util.getToken (). Then (token = > { return util.wxRequest({ url: ports.orderList, method: POST , data: { user_id: 32793, ofstatus:10}, header: { X-Auth-Token : token, content-type ...
these are two events popup passes cb into the popupHide event $( body ).on( tap , .removeNumber , function () { var _this = $(this); api.popup( title , center , function () { console.log(_this); deleteCard(_this) }...
Why is the result of the execution of the following functions 2? Hasn t counter been reinitialized each time it is called? Also, () () executes the function immediately, so why use var add =. Counter? is not called in return when add () is defined Conf...
problem description in the react project, the configuration information of Wechat official account has been successfully configured in a component entry js file. When you click the button in the sub-components of this component, you can share to momen...