Browse Source

target log

master
maochaoying 2 years ago
parent
commit
c0ab60b7cc
  1. 2
      src/store/modules/device.js

2
src/store/modules/device.js

@ -35,6 +35,8 @@ export const useDeviceStore = defineStore({
// actions // actions
actions: { actions: {
updateTargetLog(targetlog) { updateTargetLog(targetlog) {
// 直接将cookie中logVal改变
localStorage.setItem('logVal', targetlog)
this.targetlog = targetlog this.targetlog = targetlog
}, },
updateNowLog(nowlog) { updateNowLog(nowlog) {

Loading…
Cancel
Save