diff --git a/pages/mint-nft/index.vue b/pages/mint-nft/index.vue index e453af662..336d223bc 100644 --- a/pages/mint-nft/index.vue +++ b/pages/mint-nft/index.vue @@ -598,6 +598,9 @@ async function onClickMintByInputting () { const { nfts } = await getNFTs({ classId: classId.value as string }) existingNftCount.value = nfts.length } + if (typeof nftMintCount.value !== 'number') { + nftMintCount.value = Number(nftMintCount.value) + } const csvDataString = generateCsvData({ prefix: state.nftIdPrefix, nftMintCount: nftMintCount.value,