refactor(rage-strike): consts
This commit is contained in:
@@ -379,7 +379,7 @@
|
||||
};
|
||||
},
|
||||
async mounted () {
|
||||
let worldState = await this.$store.dispatch('worldState:getWorldState');
|
||||
const worldState = await this.$store.dispatch('worldState:getWorldState');
|
||||
this.broken = worldState.worldBoss.extra.worldDmg.seasonalShop;
|
||||
},
|
||||
computed: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import axios from 'axios';
|
||||
|
||||
export async function getWorldState () {
|
||||
let url = '/api/v3/world-state';
|
||||
let response = await axios.get(url);
|
||||
const url = '/api/v3/world-state';
|
||||
const response = await axios.get(url);
|
||||
return response.data.data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user