this.jsPlumb.deleteEveryConnection(); this.jsPlumb.deleteEveryEndpoint();参考:https://www.zhihu.com/question/434754482