把peer全都改名为node,以和node.server的最新修改保持一致
This commit is contained in:
@@ -42,7 +42,7 @@ export default {
|
||||
|
||||
actions: {
|
||||
async updateNetInfo({ state, commit }) {
|
||||
let result = await axios.post('Node/peerStat', {})
|
||||
let result = await axios.post('Node/nodeStat', {})
|
||||
|
||||
commit('setNodeNumber', (result && result.data) ? result.data.length : 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user