diff --git a/.env.development b/.env.development index ab9d2e2..b8abc9c 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,6 @@ # API -VUE_APP_API_URL = 'http://192.168.100.22:3006' +VUE_APP_API_URL = 'https://oauth-svr.cebggame.com/task' +# VUE_APP_API_URL = 'http://192.168.100.22:3006' # VUE_APP_API_URL = 'http://127.0.0.1:3006/api' VUE_APP_WL_URL = 'https://nftwl.counterfire.games/wl_test' VUE_APP_CONFIG_URL = 'https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8' @@ -17,5 +18,6 @@ VUE_APP_CHAIN_ID = '5611' VUE_APP_APP_NAME = 'CF UAW' # 铭文的验证地址 -VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39' +VUE_APP_SCRIPTION_ADDRESS='0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d' +# VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39' VUE_APP_CONTRACT='0x0Fd13D2CD0B6c679B6f92590E0b91C18DDe7BD3A' diff --git a/src/views/home/ranking.vue b/src/views/home/ranking.vue index d0fa9d5..aa72b03 100644 --- a/src/views/home/ranking.vue +++ b/src/views/home/ranking.vue @@ -52,7 +52,8 @@
- + +
@@ -71,7 +72,8 @@
- + +
@@ -87,7 +89,8 @@
- + +
@@ -226,13 +229,15 @@ export default { return this.$store.state.user.userData?.rankTotal || 0 } }, + created() { + this.getLeaderBoard() + }, mounted() { if(this.token) { this.userData = JSON.parse(localStorage.getItem("userData")); this.getMyIntegralList() this.initData() } - this.getLeaderBoard() }, methods: { async initData() {