Can you explain what this line of code means? Why can it be written like this? Why should it be written like this? fun log(tag: String) = fun(target: OutputStream) = fun(message: Any?) = target.write("[$tag] $messa...
var scroll_Height = $( -sharpcontent ).get(0).scrollHeight; $( -sharpcontent ).css( height ,scroll_Height + px ); $( -sharpcontent ).on( input , function() { var scroll_Height = $( -sharpcontent ).get(0).scrollHeight; ...
recently the leader said that the front end is going to use the vue framework, but the first step is to solve the compatibility problem of vue in the IE8 environment. I am a front-end rookie. After looking up some information on the Internet, I now kn...
No response to interface requests in asyncData api.jsaxiosstatic: I put the request in mounted so that I can request it successfully ...
export const geocoder = (lat, lon, success = () => {}, fail = () => {}) => { return wx.request({ url: https: apis.map.qq.com ws geocoder v1 , data: { location: `${lat},${lon}`, key: QQ_MAP_KEY, get_poi: 0 }, ...
I want to set a navigation bar, then link to each section, and then when you slide down the page to that section, the corresponding navigation will change color. The effect is as follows .] then I found out that during the internship, the css wa...