去除console
This commit is contained in:
parent
a45f6cb4d3
commit
0ebe520fcf
@ -55,7 +55,7 @@ const getHistoryList = async () => {
|
|||||||
if(myAddress.value) {
|
if(myAddress.value) {
|
||||||
let mySellNftList = []
|
let mySellNftList = []
|
||||||
let res = await apiHangingState(data)
|
let res = await apiHangingState(data)
|
||||||
console.log(res)
|
// console.log(res)
|
||||||
res = res.rows.filter((item,index) => {
|
res = res.rows.filter((item,index) => {
|
||||||
return item.nft.owner_address == myAddress.value
|
return item.nft.owner_address == myAddress.value
|
||||||
})
|
})
|
||||||
|
@ -138,7 +138,7 @@ const lockToGame = async(type) => {
|
|||||||
title: '',
|
title: '',
|
||||||
message: ' After the hero links, you can use in the game, and can re-link in the game, whether to continue the next link?'
|
message: ' After the hero links, you can use in the game, and can re-link in the game, whether to continue the next link?'
|
||||||
}).show()
|
}).show()
|
||||||
console.log('confirmResult',confirmResult)
|
// console.log('confirmResult',confirmResult)
|
||||||
if (confirmResult.errcode == 0) {
|
if (confirmResult.errcode == 0) {
|
||||||
lockToGameConfirm()
|
lockToGameConfirm()
|
||||||
}
|
}
|
||||||
@ -153,7 +153,7 @@ const lockToGameConfirm = async () => {
|
|||||||
message.success('lockToGame success')
|
message.success('lockToGame success')
|
||||||
router.go(-1)
|
router.go(-1)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('lockToGame fail', e.message)
|
// console.log('lockToGame fail', e.message)
|
||||||
message.error('lockToGame fail.')
|
message.error('lockToGame fail.')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -164,7 +164,7 @@ const nftPrice = ref('-')
|
|||||||
const icon = ref('')
|
const icon = ref('')
|
||||||
const cardPrice = async (val) => {
|
const cardPrice = async (val) => {
|
||||||
let nftData = await getNftData(toRaw(val))
|
let nftData = await getNftData(toRaw(val))
|
||||||
console.log(nftData)
|
// console.log(nftData)
|
||||||
if (nftData?.event?.data) {
|
if (nftData?.event?.data) {
|
||||||
const data = formatPrice(nftData?.event?.data)
|
const data = formatPrice(nftData?.event?.data)
|
||||||
icon.value = data.icon
|
icon.value = data.icon
|
||||||
|
@ -107,11 +107,6 @@ const chainExpolor = (urlPart) => {
|
|||||||
return `${base}/tx/${urlPart}`
|
return `${base}/tx/${urlPart}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log(props.nftData)
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@ -86,7 +86,7 @@ onMounted(() => {
|
|||||||
// 初始化时进行一次检测
|
// 初始化时进行一次检测
|
||||||
updateOrientation();
|
updateOrientation();
|
||||||
}
|
}
|
||||||
console.log(isLandscape.value, "-=-=-");
|
// console.log(isLandscape.value, "-=-=-");
|
||||||
});
|
});
|
||||||
|
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user