chore: 添加 JavaScript 文件用途说明

This commit is contained in:
2024-08-31 16:34:00 +08:00
parent 6978b89ee5
commit b01ce6be88
5 changed files with 11 additions and 0 deletions

View File

@@ -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 } */

View File

@@ -1,3 +1,5 @@
// 工具函数
import { description as appDesc } from '@package-json'; import { description as appDesc } from '@package-json';
/** /**

View File

@@ -1,2 +1,4 @@
// 接口配置
/** HTTP 请求超时毫秒数 */ /** HTTP 请求超时毫秒数 */
export const HTTP_TIMEOUT = 10000; export const HTTP_TIMEOUT = 10000;

View File

@@ -1,3 +1,6 @@
// 环境变量
/** 环境变量信息 */
const ENV = import.meta.env; const ENV = import.meta.env;
/** 是否为开发环境 */ /** 是否为开发环境 */

View File

@@ -1,3 +1,5 @@
// 模块显示配置
import { IS_DEV } from './env'; import { IS_DEV } from './env';
/** 启用“MINECRAFT 联动控制”模块 */ /** 启用“MINECRAFT 联动控制”模块 */