标签:pre nbsp console ext span angular port ons sub
import subject from "nxjs/subject"; let sub = new subject(); //发布订阅 sub.subscribe(data=>{ console.log(data> }); //执行订阅的事件 sub.next(data);
标签:pre nbsp console ext span angular port ons sub
原文地址:https://www.cnblogs.com/llcMite/p/12495867.html