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
|
#!/usr/bin/env sh
|
||||||
. "$(dirname -- "$0")/_/husky.sh"
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
echo "Running pre-commit hook..."
|
||||||
|
git status
|
||||||
pnpm lint-staged
|
pnpm lint-staged
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
"stylelint --fix",
|
"stylelint --fix",
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
],
|
],
|
||||||
"*.{txt,md}": [
|
"*.{txt,md,json}": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -129,4 +129,4 @@
|
|||||||
"gifsicle": "5.2.0"
|
"gifsicle": "5.2.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808"
|
"packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,8 +229,7 @@ const fetchData = async (
|
|||||||
pagination.current,
|
pagination.current,
|
||||||
pagination.pageSize as ApiCookieInfoJdOrderListGetPageSizeEnum,
|
pagination.pageSize as ApiCookieInfoJdOrderListGetPageSizeEnum,
|
||||||
null,
|
null,
|
||||||
formModel.value.giftCardPwd,
|
formModel.value.giftCardPwd
|
||||||
formModel.value.merchantId
|
|
||||||
);
|
);
|
||||||
renderData.value = res.data.list;
|
renderData.value = res.data.list;
|
||||||
pagination.current = params.current;
|
pagination.current = params.current;
|
||||||
|
|||||||
Reference in New Issue
Block a user