📅  最后修改于: 2022-03-11 15:04:00.543000             🧑  作者: Mango
async nuxtServerInit ({ commit }, { $axios }) {
const ip = await $axios.$get('http://icanhazip.com')
commit('SET_IP', ip)
}