Hook Vue3 app

通过劫持Proxy方法,逆向还原Vue3 app元素到DOM

These are all versions of this script. Show only the versions where the code changed.

  • v1.0.3 14.08.2022

    1.优化全局变量,防止内存泄露(感谢@cxxjackie哥哥的建议)
    a. vueHooked从Object变为WeakMap,作用保持不变
    b. vueApp改为vueUnhooked,从Object变为WeakSet,作为debug变量,现在只保留未劫持的app

    2.增加app.isUnmounted监听,在Vue app销毁时同时销毁脚本库对其的引用

  • v1.0.2 14.08.2022

    1.优化全局变量,防止内存泄露(感谢@cxxjackie哥哥的建议)
    a. vueHooked从Object变为WeakMap,作用保持不变
    b. vueApp改为vueUnhooked,从Object变为WeakSet,作为debug变量,现在只保留未劫持的app

    2.增加app.isUnmounted监听,在Vue app销毁时同时销毁脚本库对其的引用

  • v1.0.2 13.08.2022

    修复 观察el BUG

  • v1.0.1 12.08.2022
  • v1.0.1 12.08.2022
  • v1.0.1 12.08.2022
  • v1.0.1 12.08.2022