解决方案 »

  1.   

    没人回帖就自己搞定了
    addthis 有老的API和新的API 
    老的方法中,对于新增加的 dom 
    // Call this function once the rest of the document is loaded
    function loadAddThis() {
        addthis.init();
    }这里还有个关键的地方:
    Note that the addthis.init() option should only be called once. If you're rendering the buttons more than once your page, use the addthis.toolbox() or addthis.button() at the end of this document after calling addthis.init().就是说如果页面反复多次添加新的分享的dom进来,就得在 addthis.init() 后调用 addthis.toolbox() or addthis.button()新的api 就简单了很多, 一句话就搞定:
    //always refresh on URL change
    window.addEventListener("hashchange", function () {
      addthis.layers.refresh();
    });
    应该就这么多了,希望对游泳的人有点帮助