retrigger build

This commit is contained in:
neil 2023-01-22 21:23:18 +08:00
parent 27e4a64d23
commit 1878a5915d
2 changed files with 2 additions and 1 deletions

View file

@ -118,6 +118,7 @@ jobs:
- darwin+aarch64
# - linux+aarch64
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: ${{ matrix.platform }}

View file

@ -13,7 +13,7 @@
$: if ($navigating) view.scrollTop = 0;
afterNavigate(({ from, to }) => {
if (to?.route.id && from && from?.url) {
if (to && to?.route.id && from && from?.url) {
const nextPath = to.url.href.replace(to.url.origin, '');
const fromPath = from?.url.href.replace(from.url.origin, '');
navStore.setNewPath(nextPath, fromPath || '/');