This commit is contained in:
lyp 2025-06-05 15:39:18 +08:00
parent 0eb387779d
commit 654f56af6a
4 changed files with 5 additions and 1 deletions

View File

@ -112,6 +112,7 @@ export default function CopyrightGgoods() {
// console.log('呵呵', goodsFlag);
// console.log('嘻嘻', state.goodsFlag);
// return
setData([])
try {
setLoading(true)
const res: any = await buyGoodsList({
@ -436,7 +437,7 @@ export default function CopyrightGgoods() {
<Pagination
showSizeChanger={false}
current={page} total={total} defaultPageSize={20} onChange={(page) => {
console.log(page)
// console.log(page)
setPage(page)
}} />
</div>

View File

@ -253,6 +253,7 @@ export default function ProductRelease() {
const [selectTypeArray, setSelectTypeArray] = useState<any>([]) // 选择的软著类型
const getGoodsDate = async (page: number) => {
setData([])
try {
setLoading(true)
const res: any = await getGoodsList({

View File

@ -172,6 +172,7 @@ export default function TradingGoods() {
const [buyInfoModal, setBuyInfoModal] = useState(false) // 填写购买人信息弹窗
const getDataList = async (page: number) => {
setData([])
try {
setLoading(true)
const res: any = await getBuyOrderList({

View File

@ -62,6 +62,7 @@ export default function TransactionOrder() {
const [data, setData] = useState<DataType[]>([]); // 表格数据
const getDataList = async (page: number) => {
setData([])
try {
setLoading(true)
const res: any = await getSellOrderList({