remove debug console outputs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
c642fc2b15
commit
1fda940f11
@ -165,14 +165,7 @@ export default class TheSidebar extends Mixins(BaseMixin) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
window.console.log("lg", this.$vuetify.breakpoint.lgAndUp)
|
|
||||||
|
|
||||||
this.naviDrawer = this.$vuetify.breakpoint.lgAndUp
|
this.naviDrawer = this.$vuetify.breakpoint.lgAndUp
|
||||||
}
|
}
|
||||||
|
|
||||||
@Watch('naviDrawer')
|
|
||||||
naviDrawerChanged(newVal: any) {
|
|
||||||
window.console.log("naviDrawerChanged", newVal)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
@ -32,7 +32,6 @@ export const actions: ActionTree<ServerState, RootState> = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
initServerInfo: function ({ dispatch, commit }, payload) {
|
initServerInfo: function ({ dispatch, commit }, payload) {
|
||||||
window.console.debug("init ServerInfo")
|
|
||||||
// delete old plugin entries
|
// delete old plugin entries
|
||||||
if ('plugins' in payload) delete payload.plugins
|
if ('plugins' in payload) delete payload.plugins
|
||||||
if ('failed_plugins' in payload) delete payload.failed_plugins
|
if ('failed_plugins' in payload) delete payload.failed_plugins
|
||||||
|
@ -44,7 +44,7 @@ export const mutations: MutationTree<ServerState> = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
setGcodeStore(state, payload: any) {
|
setGcodeStore(state, payload: any) {
|
||||||
const t0 = performance.now()
|
//const t0 = performance.now()
|
||||||
|
|
||||||
if (payload.length >= maxEventHistory) {
|
if (payload.length >= maxEventHistory) {
|
||||||
payload = payload.slice(payload.length - maxEventHistory);
|
payload = payload.slice(payload.length - maxEventHistory);
|
||||||
@ -65,8 +65,8 @@ export const mutations: MutationTree<ServerState> = {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
const t1 = performance.now()
|
//const t1 = performance.now()
|
||||||
window.console.debug("import events", t1-t0)
|
//window.console.debug("import events", t1-t0)
|
||||||
},
|
},
|
||||||
|
|
||||||
addEvent(state, payload) {
|
addEvent(state, payload) {
|
||||||
|
@ -13,8 +13,6 @@ export const actions: ActionTree<ServerUpdateMangerState, RootState> = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getStatus({ commit }, payload) {
|
getStatus({ commit }, payload) {
|
||||||
window.console.log("response sync update")
|
|
||||||
|
|
||||||
commit('setStatus', payload)
|
commit('setStatus', payload)
|
||||||
},
|
},
|
||||||
}
|
}
|
@ -9,7 +9,6 @@ export const actions: ActionTree<SocketState, RootState> = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
setData({ commit }, payload) {
|
setData({ commit }, payload) {
|
||||||
window.console.log(payload)
|
|
||||||
commit('setData', payload)
|
commit('setData', payload)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user