我根据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>