beginner, excuse me. 1. Question: webpack + vue-cli project, using babel to escape es6, in which I have a js written in the old-fashioned way, such as this: delete obj; webpack will report an error in strict mode, so modify the babel configuration ...
Hello, everyone. I want to block the right button in the browser, so I need the event event, but to get the event event in firefox is arguments.callee.caller.arguments [0] so my code is var event = window.event | | arguments.callee.caller.arguments [0]...
two functions in the source code function() { with(this){return _c("div")} } Vue.prototype._c , just to omit this , isn t there a performance problem with with , and strict mode is not supported. ...
var a = [] {x: 1, y: 2, z: 3}, {x: 1, y: 2, z: 4}, {x: 1, y: 1, z: 0}, {x: 1, y: 2, z: 3} ] when the values of y in array an are the same as the sum of the same value z example: a has three y with the same z sum of 3 4 3? Find the optimal solution ...
Corporate video needs to be encrypted. This can be achieved by adding a string of token-like data to the header of the HTTP request for video data at the front end, so as to determine whether the video data is allowed to be returned at the backend. Both ...
when you click manually, you can copy the specified content to the pasteboard, and add an automatic loading page on this basis, how to achieve it? < hr > <body> <input type="text" id="inputText" value="444" ...
Note that our current isolation level is read uncommitted, that is, the lowest isolation level. Dirty reading occurs at this level, and A transaction modifies a row of data, but in the case of uncommitted, this row of data is read by a behavior other th...
write a custom verification rule in the validator of tp5, and verify that the utf8 encoded character length of the input field is within 31 coding is not very good at conversion. In the previous paragraph, I did the page verification of js. The code i...