|
@ -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) { |
|
|