修改任务排序
This commit is contained in:
parent
dd84bf9d67
commit
21cfb8daaa
@ -41,7 +41,7 @@
|
||||
gtag('config', 'G-4KSHDJ3MGL');
|
||||
</script>
|
||||
<!-- built files will be auto injected -->
|
||||
<script src="https://www.google.com/recaptcha/api.js?render=6Ld3xoIpAAAAABW7f5ImgAC6GcWLeDCbt5HPXqe2"></script>
|
||||
<!-- <script src="https://www.google.com/recaptcha/api.js?render=6Ld3xoIpAAAAABW7f5ImgAC6GcWLeDCbt5HPXqe2"></script> -->
|
||||
<script th:inline="javascript">
|
||||
/**
|
||||
* 加载外部js
|
||||
|
@ -29,7 +29,7 @@ export default {
|
||||
this.itemData.id
|
||||
);
|
||||
datafluxRum.addRumGlobalContext('task_type',{
|
||||
name: itemData.task+'Verify'
|
||||
name: this.itemData.task+'Verify'
|
||||
})
|
||||
if (errcode !== 0) {
|
||||
if (errmsg == "twitter already binded") {
|
||||
|
@ -885,10 +885,6 @@ export default {
|
||||
stateMap.get(this.activeList[i].id) || 0
|
||||
);
|
||||
}
|
||||
this.activeList.map(item => {
|
||||
return item.status +=1
|
||||
})
|
||||
console.log(this.activeList)
|
||||
}
|
||||
},
|
||||
|
||||
@ -959,7 +955,7 @@ export default {
|
||||
this.$showErr("Please complete the 'Connect Your Discord' quest first");
|
||||
}
|
||||
}else{
|
||||
this.$showErr(`Unknown error[${res.errcode}]`);
|
||||
this.$showErr(`Unknown error[${res.errcode}]`);
|
||||
}
|
||||
}
|
||||
|
||||
@ -979,9 +975,9 @@ export default {
|
||||
// const codeChallenge = crypto.randomUUID()
|
||||
// const codeChallenge = Date.now();
|
||||
const address = this.$store.state.user.address;
|
||||
const redirectUri = "https://oauth-svr.cebggame.com/twitter/redirect_uri";
|
||||
// const redirectUri = "https://oauth-svr.cebggame.com/twitter/redirect_uri";
|
||||
// const state = btoa(`${address}|${codeChallenge}|${location.href}`);
|
||||
const url = `https://twitter.com/i/oauth2/authorize?state=${encodeURIComponent(
|
||||
const url = `https://oauth-svr.cebggame.com/twitter/oauth/${encodeURIComponent(
|
||||
address
|
||||
)}`;
|
||||
let newwin = window.open(url, "twitter connect");
|
||||
|
Loading…
x
Reference in New Issue
Block a user