Skip to content

Commit

Permalink
fix: upt /path/params
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Nov 25, 2023
1 parent 1d4c13b commit bb8c0e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ const NxTarovueKits = nx.declare('nx.TarovueKits', {
$page: function (inKey) {
const pages = getCurrentPages();
const page = pages[pages.length - 1];
const { options: opts, route, $page } = page;
const { $taroParams: opts, route, $taroPath } = page;
const { options } = pipe(...queryInterceptors)({ options: opts, route });
const url = nx.get($page, 'fullPath');
const meta = { route, options, url };
const meta = { route, options, url: $taroPath };
return nx.get(meta, inKey);
}
});
Expand Down

0 comments on commit bb8c0e6

Please sign in to comment.