diff --git a/Web/src/main.js b/Web/src/main.js index 1e13ac4..e35f5b2 100644 --- a/Web/src/main.js +++ b/Web/src/main.js @@ -99,7 +99,7 @@ import './assets/style/app.less' import { SETTING_KEY } from './common/storage' -const settings = JSON.parse(window.localStorage.getItem(SETTING_KEY)) +const settings = JSON.parse(window.localStorage.getItem(SETTING_KEY)) || {} Object.assign(settings, { layout: 'top-nav', container: 'container-fluid', diff --git a/Web/src/pages/business/house/code/form/part.vue b/Web/src/pages/business/house/code/form/part.vue index c3d541d..1becd48 100644 --- a/Web/src/pages/business/house/code/form/part.vue +++ b/Web/src/pages/business/house/code/form/part.vue @@ -143,6 +143,8 @@ \ No newline at end of file diff --git a/Web/src/util/global/index.js b/Web/src/util/global/index.js index 3eb220e..395950b 100644 --- a/Web/src/util/global/index.js +++ b/Web/src/util/global/index.js @@ -28,4 +28,12 @@ export const getGlobal = () => { return JSON.parse(decryptByDES(window.sessionStorage.getItem(GLOBAL_INFO_KEY))) } -export const RSA_PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC273zAyijb3uX6O66VThrdfHtzZJn3d/SBM8qiETS7PijyNY3zNecAB+F/owxOWSB/6ojBo5Eu0FCiENxfpenTZB7sKrYu6NVH5gkfHLa6jz4pNzlGP93Q6RON4KjMZolAfRevBQ7vD6sOfJfMDnYi8xk+dRXcqc6PWY8fQiGs5QIDAQAB-----END PUBLIC KEY-----' \ No newline at end of file +/** + * RSA公钥 + */ +export const RSA_PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC273zAyijb3uX6O66VThrdfHtzZJn3d/SBM8qiETS7PijyNY3zNecAB+F/owxOWSB/6ojBo5Eu0FCiENxfpenTZB7sKrYu6NVH5gkfHLa6jz4pNzlGP93Q6RON4KjMZolAfRevBQ7vD6sOfJfMDnYi8xk+dRXcqc6PWY8fQiGs5QIDAQAB-----END PUBLIC KEY-----' + +/** + * 城市名称 + */ +export const CITY = '黄石市' \ No newline at end of file