mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-17 16:31:07 +08:00
* [feature](webapp) add drill down dimensions and metric period compare and modify layout * [feature](webapp) add drill down dimensions and metric period compare and modify layout * [feature](webapp) gitignore add supersonic-webapp * [feature](webapp) gitignore add supersonic-webapp * [feature](webapp) add chat plugin and split query to parse and execute * [feature](webapp) add chat plugin and split query to parse and execute * [feature](webapp) add chat plugin and split query to parse and execute --------- Co-authored-by: williamhliu <williamhliu@tencent.com>
20 lines
543 B
TypeScript
20 lines
543 B
TypeScript
// 登陆 token key
|
|
export const AUTH_TOKEN_KEY = process.env.APP_TARGET === 'inner' ? 'TME_TOKEN' : 'SUPERSONIC_TOKEN';
|
|
// 记录上次访问页面
|
|
export const FROM_URL_KEY = 'FROM_URL';
|
|
|
|
export const PRIMARY_COLOR = '#f87653';
|
|
export const CHART_BLUE_COLOR = '#446dff';
|
|
export const CHAT_BLUE = '#1b4aef';
|
|
export const CHART_SECONDARY_COLOR = 'rgba(153, 153, 153, 0.3)';
|
|
|
|
export enum NumericUnit {
|
|
None = '无',
|
|
TenThousand = '万',
|
|
EnTenThousand = 'w',
|
|
OneHundredMillion = '亿',
|
|
Thousand = 'k',
|
|
Million = 'M',
|
|
Giga = 'G',
|
|
}
|