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. ...
vuex uses mapstate to map state (attributeData: state = > state.kickoff.attributeData is used in the code), in the template < template VMI for = "(attritem, index) in attributeData " > you can use state to access state data, but in method you use this.a...
want to understand a problem, that is, the principle of domain name resolution, is there any easy-to-understand explanation? for example, when I use PHPstudy to develop a website, I don t have a DNS service locally, but after configuring a virtual ho...
1 for example: CREATE INDEX idx_user_username ON user (username (6)); idx_user_username is the name of the index, does this name need to be written or reflected in the program or will the database itself do it without our management? 2 how to mea...
the old project. Today, we found that the cpu is unusually high. Through Aliyun s node performance platform, we can get the flame diagram when it is soaring. What is the longest program in the figure? is it the main program? New to node, I don t know ...
Ionic2 project, there are dozens of pictures on a page that need to be uploaded or loaded. Is there any way to effectively compress images to make uploading or loading faster? ...