cec claim
This commit is contained in:
parent
7d58ed97b2
commit
3a38f864f6
@ -122,6 +122,12 @@ export class BlockChain {
|
||||
throw new Error(result.errmsg);
|
||||
}
|
||||
}
|
||||
|
||||
// claim CEC 登录
|
||||
async cecLogin () {
|
||||
const rewardModal = createModal(WalletSelectModel, {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 用于eoa登录后, 添加passport地址
|
||||
*/
|
||||
|
@ -336,8 +336,9 @@ watch(() => route.path,(newPath, oldPath) => {
|
||||
}else if(routerPath[1] == 'cecActivity') {
|
||||
isHeaderShow.value = false
|
||||
}else if(routerPath[1] == 'claim') {
|
||||
isHeaderShow.value = false
|
||||
loginShowMenu.value = false
|
||||
} else {
|
||||
loginShowMenu.value = true
|
||||
isHeaderShow.value = true
|
||||
isCart.value = false
|
||||
}
|
||||
|
@ -33,8 +33,12 @@
|
||||
import { ref, toRefs, toRaw, onMounted, computed, inject} from "vue"
|
||||
const message = inject('$message')
|
||||
|
||||
const connectLogin = () => {
|
||||
console.log('登录')
|
||||
import { BlockChain } from "@/components/chain/BlockChain"
|
||||
|
||||
const connectLogin = async () => {
|
||||
let res = await new BlockChain().cecLogin()
|
||||
console.log(res)
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user