ionic 4-重新加载页面以返回上一页

时间:2019-04-08 06:51:06

标签: angular ionic4

我根据simon tutorial使用离子4和分解器

但是当从子页面到父页面单击后退按钮或更改选项卡时,目标页面会重新加载

后退按钮

Add this to under component array

            'queue'        => [
                'class'     => Queue::class,
                'db'        => 'db', // DB connection component or its config
                'tableName' => '{{%db_queue}}', // Table name
                'channel'   => 'default', // Queue channel key
  'mutex'     => MysqlMutex::class, // Mutex used to sync queries
        ]

转到页面链接

<ion-buttons slot="start">
      <ion-back-button></ion-back-button>
</ion-buttons>

0 个答案:

没有答案