Browse Source

show country

master
gsd 1 year ago
parent
commit
38fbbe459e
  1. 1
      src/components/TabsMenuElements/ProfileView/Components/ProfileContainer.vue
  2. 3
      vue.config.js

1
src/components/TabsMenuElements/ProfileView/Components/ProfileContainer.vue

@ -77,6 +77,7 @@
<img :src="getAvatar()" style="border-radius: 15px;"> <img :src="getAvatar()" style="border-radius: 15px;">
</div> </div>
<p class="profile-text" style="text-align: right; cursor: pointer;" v-if="this.player['play_on'] !== null && 'ip' in this.player['play_on']" v-on:click="showIP()">IP : {{player_ip}}</p> <p class="profile-text" style="text-align: right; cursor: pointer;" v-if="this.player['play_on'] !== null && 'ip' in this.player['play_on']" v-on:click="showIP()">IP : {{player_ip}}</p>
<p class="profile-text" style="text-align: right; cursor: pointer;" v-if="this.player['play_on'] !== null && 'country' in this.player['play_on']">Страна : {{this.player['play_on']['country']}}</p>
<p class="profile-text" style="text-align: right" v-if="this.player['play_on'] !== null && 'kills' in this.player['play_on']">Убийств : {{this.player['play_on']['kills']}}</p> <p class="profile-text" style="text-align: right" v-if="this.player['play_on'] !== null && 'kills' in this.player['play_on']">Убийств : {{this.player['play_on']['kills']}}</p>
<p class="profile-text" style="text-align: right" v-if="this.player['play_on'] !== null && 'deads' in this.player['play_on']">Смертей : {{this.player['play_on']['deads']}}</p> <p class="profile-text" style="text-align: right" v-if="this.player['play_on'] !== null && 'deads' in this.player['play_on']">Смертей : {{this.player['play_on']['deads']}}</p>
<p class="profile-text" style="text-align: right; cursor: pointer" v-on:click="loadingUserTime()">Наиграно : {{usertime.total}}</p> <p class="profile-text" style="text-align: right; cursor: pointer" v-on:click="loadingUserTime()">Наиграно : {{usertime.total}}</p>

3
vue.config.js

@ -4,8 +4,7 @@ module.exports = defineConfig({
devServer: { devServer: {
proxy: { proxy: {
"/api": { "/api": {
//target: "http://192.168.3.3:26272/api/", target: "http://192.168.3.3:26272/api/",
target: "http://176.214.243.79:26272/api",
secure: false, secure: false,
changeOrigin: true, changeOrigin: true,
pathRewrite: { '^/api': '' }, pathRewrite: { '^/api': '' },

Loading…
Cancel
Save