chore: 添加 JavaScript 文件用途说明
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
// Naive UI 配置
|
||||||
|
|
||||||
import { dateZhCN, zhCN } from 'naive-ui';
|
import { dateZhCN, zhCN } from 'naive-ui';
|
||||||
|
|
||||||
/** @type { import('naive-ui').ConfigProviderProps } */
|
/** @type { import('naive-ui').ConfigProviderProps } */
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
// 工具函数
|
||||||
|
|
||||||
import { description as appDesc } from '@package-json';
|
import { description as appDesc } from '@package-json';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,2 +1,4 @@
|
|||||||
|
// 接口配置
|
||||||
|
|
||||||
/** HTTP 请求超时毫秒数 */
|
/** HTTP 请求超时毫秒数 */
|
||||||
export const HTTP_TIMEOUT = 10000;
|
export const HTTP_TIMEOUT = 10000;
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
|
// 环境变量
|
||||||
|
|
||||||
|
/** 环境变量信息 */
|
||||||
const ENV = import.meta.env;
|
const ENV = import.meta.env;
|
||||||
|
|
||||||
/** 是否为开发环境 */
|
/** 是否为开发环境 */
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
// 模块显示配置
|
||||||
|
|
||||||
import { IS_DEV } from './env';
|
import { IS_DEV } from './env';
|
||||||
|
|
||||||
/** 启用“MINECRAFT 联动控制”模块 */
|
/** 启用“MINECRAFT 联动控制”模块 */
|
||||||
|
Reference in New Issue
Block a user