tedd
V2EX  ›  Vue.js

请问如何在 Vue Devtool 中查看到某个 Mutation 是被拿个 Action 触发的呢?

  •  
  •   tedd · Jan 13, 2019 · 2204 views
    This topic created in 2676 days ago, the information mentioned may be changed or developed.
    点击了 mutation 只有 commit、revert 和 time travel 三个操作,请问有办法吗?或者自己每次触发的时候手动标记下?
    1 replies    2019-01-14 07:47:56 +08:00
    ghostheaven
        1
    ghostheaven  
       Jan 14, 2019 via Android   ❤️ 1
    mutation 里加断点?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1156 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:42 · PVG 01:42 · LAX 10:42 · JFK 13:42
    ♥ Do have faith in what you're doing.