| | |
| | | theme: variables.theme, |
| | | //登录用户名 |
| | | uname: null, |
| | | unid: null, |
| | | //项目管理 |
| | | projeOl: null, |
| | | download: false, |
| | | showAllLayers: true, |
| | | primitLayer:null, |
| | | loading:false, |
| | | pipelineEntity:[], |
| | | reporturl:null, |
| | | layerMnage:false, |
| | | primitLayer: null, |
| | | loading: false, |
| | | pipelineEntity: [], |
| | | reporturl: null, |
| | | layerMnage: false, |
| | | themeflag:false, |
| | | }, |
| | | mutations: { |
| | | //获取权限合集 |
| | |
| | | login(data) |
| | | .then((response) => { |
| | | const data = response; |
| | | |
| | | |
| | | if (data.code !== 200) { |
| | | resolve(data); |
| | | return |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | setCookies(res) { |
| | | setCookies(res) { |
| | | var value = localStorage.getItem('LFToken'); |
| | | if (value != null) { |
| | | this.rmCookies(); |