mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 09:44:26 +08:00
modify localstorage key
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import utils from './utils.js';
|
import utils from './utils.js';
|
||||||
|
|
||||||
const exchangeRatesLocalStorageKey = 'lab_exchange_rates';
|
const exchangeRatesLocalStorageKey = 'lab_app_exchange_rates';
|
||||||
|
|
||||||
function getExchangeRates() {
|
function getExchangeRates() {
|
||||||
const storageData = localStorage.getItem(exchangeRatesLocalStorageKey) || '{}';
|
const storageData = localStorage.getItem(exchangeRatesLocalStorageKey) || '{}';
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
|
|
||||||
const settingsLocalStorageKey = 'lab_user_settings';
|
const settingsLocalStorageKey = 'lab_app_settings';
|
||||||
const serverSettingsCookieKey = 'ACP_SETTINGS';
|
const serverSettingsCookieKey = 'ACP_SETTINGS';
|
||||||
|
|
||||||
const defaultSettings = {
|
const defaultSettings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user