Ionic framework ionic2:离子切换不切换

Ionic framework ionic2:离子切换不切换,ionic-framework,ionic2,Ionic Framework,Ionic2,我有这个ionic2modal内容: <ion-toolbar class="android-attr" primary> <ion-title> Search Settings </ion-title> <ion-buttons start> <button (click)="dismiss()"> <span primary showWhen="ios">Cancel</sp

我有这个
ionic2
modal内容:

<ion-toolbar class="android-attr" primary>
  <ion-title>
    Search Settings
  </ion-title>
  <ion-buttons start>
    <button (click)="dismiss()">
      <span primary showWhen="ios">Cancel</span>
      <ion-icon name='close' showWhen="android"></ion-icon>
    </button>
  </ion-buttons>
</ion-toolbar>
<ion-content class="has-header">
  <ion-list>
    <ion-item>
      <h2>Search by tags</h2>
      <p>I've had a pretty messed up day. If we just...</p>
      <p>I've had a pretty messed up day. If we just...</p>
      <ion-icon name="trash" item-right></ion-icon>
    </ion-item>
    <ion-item>
      <ion-label>Use my current location</ion-label>
      <ion-toggle checked="true"></ion-toggle>
      <h3>Don't Know What To Do!</h3>
    </ion-item>
    <ion-item>
      <p>I've had a pretty messed up day. If we just...</p>
    </ion-item>
  </ion-list>
  <div padding>
    <button primary block>Apply</button>
  </div>  
</ion-content>

搜索设置
取消
按标签搜索
我今天过得很糟糕。如果我们只是

我今天过得很糟糕。如果我们只是

使用我的当前位置 不知道该怎么办! 我今天过得很糟糕。如果我们只是

申请

问题既不是
离子切换
也不是
离子复选框
切换。我只是简单地添加到html中。

我在我的ionic2应用程序中复制/粘贴了你的代码,你的
在我这边起作用了:/你能提供一个包含更多代码的plunker示例吗?是的,这是我的全部代码。除了我在这里发布的内容,我没有做任何事情。我的意思是,如果你能用你的代码在plunker上重现这个bug,那么我可以调试它。我无法在我这边复制你的调试。这在你的android手机上有效吗?