problem description recently, the project needs to listen for changes in vue routes. it is said on the Internet to use hashchange to monitor, but ordinary jumps cannot be triggered, only backward and forward can be triggered. the environmental b...
recently encountered a problem that requires updating the UI in a function of JS at different stages of code execution. has made a variety of attempts, including web worker technology, and for a variety of reasons, event listening feels closer to imple...
now there is a requirement for the project to transform a QT console program into a daemon, stay in the background for a long time, and be able to start the program on boot ...
recommend several timeline controls that can be used on react ...
talk about the basic needs: 1, offline scenario: users go to the store for consumption, self-made membership card consumption; 2, online scenario: buy goods in Mini Program. now you need to integrate the two, that is, you need to get through Mini Pr...
parent component: : ...
var a = 2; (function IIFE(global){ var a =3 console.log(a) 3 console.log(global.a) 2 })(window); console.log(a); 2 let a = 2; (function IIFE(global){ var a =3 console.log(a) 3 console.log(global.a) undefine undefined ...