我试图在离子型中使用新的页面,我在app.js中创建了新的路径,但是当我运行这个页面时,没有显示任何内容。
谢谢你帮忙。
app.js
var myApp = angular.module('starter', ['ionic'])
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
我有如下所示的代码。它在ngIf用例上工作得很好。但是它与else用例有一个问题。也就是说,它显示了其他部分,突然消失了,没有任何变化的observable。换句话说,数据没有变化。你能告诉我为什么吗?如何避免呢?
这就是它现在的行为:
html
<ion-list radio-group [(ngModel)]="budgetGroup" *ngIf="budgetGroups$ | async; let bg;else loading">
<ion-item-sliding *ngFor="let b of