About porting the jq plug-in to VUE

If there is any problem with

, you still need to change the code to transplant

.
Apr.09,2021
Of course,

needs to be changed. There is no $object in jq in vue, so selector should write


alone. First, if you are a pure front-end project, it is recommended that you do not use jq
. On the second github, you can basically find vue plug-ins that can realize the functions of jq plug-ins. Take some effort to find them. Compatibility is good
the third is that you want to change the code is a necessary variable, these are all global definition invocation methods also have to modify the dom operation will also be affected

Menu