Skip to content

Commit

Permalink
[bug] fix js edit use pg insead of page
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed Jan 14, 2025
1 parent 894ed8b commit ea1bd2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/pages/lab/components/jsEdit/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ const handleDataDebugDetail = async () => {
};
const handleDataDebugSearch = async () => {
const { wd, pg: page } = form.value.search;
const { wd, pg } = form.value.search;
if (!wd) {
MessagePlugin.warning(t('pages.lab.jsEdit.message.searchNoWd'));
Expand All @@ -901,7 +901,7 @@ const handleDataDebugSearch = async () => {
const data = {
wd,
quick: false,
page: page || 1,
pg: pg === 1 ? null : pg,
};
await handleDataDebug('search', data);
};
Expand Down

0 comments on commit ea1bd2a

Please sign in to comment.