CN-417 feat: 前端appearence功能实现
This commit is contained in:
@@ -7,6 +7,8 @@ export const storageKey = {
|
||||
languages: 'cn-languages',
|
||||
language: 'cn-language',
|
||||
timezone: 'cn-timezone',
|
||||
theme: 'cn-theme',
|
||||
dateFormat: 'cn-date-format',
|
||||
timezoneOffset: 'cn-timezone-offset',
|
||||
timezoneLocalOffset: 'cn-timezone-local-offset',
|
||||
token: 'cn-token',
|
||||
@@ -195,6 +197,16 @@ export const dnsServerRole = {
|
||||
RTDNSM: 'RTDNSM'
|
||||
}
|
||||
|
||||
export const themeData = [
|
||||
{ value: 'light', label: 'light' },
|
||||
{ value: 'dark', label: 'dark' }
|
||||
]
|
||||
|
||||
export const langData = [
|
||||
{ value: 'zh', label: 'zh' },
|
||||
{ value: 'en', label: 'en' }
|
||||
]
|
||||
|
||||
export const performanceMetricMapping = {
|
||||
'dns error': 'DNS Error Rate',
|
||||
'http error': 'HTTP Error Rate',
|
||||
|
||||
Reference in New Issue
Block a user