我期待从2角一个应用程序升级到4,我发现了以下错误: Type 'Promise<void | Store>' is not assignable to type 'Promise<Store>'.
类型“无效|商店'不能分配键入'存储'。 类型'void'不可指定为'Store'类型。 有问题的线路是这样的: return this.http.get(url, { headers: this
我想在ionic3 submitLoginForm() {
var username = this.formData.value.username;
var password = this.formData.value.password;
var bodyjson;
var userId;
this.ApidataService.loginche
我有两个类,我希望一个类可以订阅另一个类。所以 这样的事情。 类别之一: while(1){ if(true){ //emmit some event } 类二: //wait for class one to emmit some data ,and then start working with the data 我的问题是,有没有什么方法,模块..这可以帮助我实现了这个行为?