You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
718 B
24 lines
718 B
/*
|
|
* @Author: your name
|
|
* @Date: 2021-10-12 13:37:50
|
|
* @LastEditTime: 2021-10-26 10:03:54
|
|
* @LastEditors: Please set LastEditors
|
|
* @Description: In User Settings Edit
|
|
* @FilePath: /data-show/src/store/state.js
|
|
*/
|
|
let commTime = {
|
|
sStartTime: "",
|
|
sEndTime: "",
|
|
sTimeType: ''
|
|
}
|
|
const state = {
|
|
$zoom: 1,
|
|
token: sessionStorage.getItem('token') || "",
|
|
user: JSON.parse(sessionStorage.getItem('user')) || {},
|
|
account: JSON.parse(localStorage.getItem('account')) || {},
|
|
commTime: JSON.parse(sessionStorage.getItem('commTime')) || commTime,
|
|
ctime: JSON.parse(sessionStorage.getItem('ctime')) || {},
|
|
headerType: sessionStorage.getItem('headerType') || 1,
|
|
}
|
|
export default state;
|