chore: update husky and lint-staged config
This commit is contained in:
@@ -1 +0,0 @@
|
||||
pnpm commitlint --edit $1
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
echo "Running pre-commit hook..."
|
||||
git status
|
||||
pnpm lint-staged
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"stylelint --fix",
|
||||
"prettier --write"
|
||||
],
|
||||
"*.{txt,md}": [
|
||||
"*.{txt,md,json}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -229,8 +229,7 @@ const fetchData = async (
|
||||
pagination.current,
|
||||
pagination.pageSize as ApiCookieInfoJdOrderListGetPageSizeEnum,
|
||||
null,
|
||||
formModel.value.giftCardPwd,
|
||||
formModel.value.merchantId
|
||||
formModel.value.giftCardPwd
|
||||
);
|
||||
renderData.value = res.data.list;
|
||||
pagination.current = params.current;
|
||||
|
||||
Reference in New Issue
Block a user