fix: format

This commit is contained in:
Gabe
2025-11-10 01:15:54 +08:00
parent 222428ad47
commit 79bd776ef9
2 changed files with 4 additions and 4 deletions

View File

@@ -34,5 +34,5 @@ export const MSG_XHR_DATA_YOUTUBE = "KISS_XHR_DATA_YOUTUBE";
// export const MSG_GLOBAL_VAR_FETCH = "KISS_GLOBAL_VAR_FETCH";
// export const MSG_GLOBAL_VAR_BACK = "KISS_GLOBAL_VAR_BACK";
export const MSG_MENUS_PROGRESSED = "progressed"
export const MSG_MENUS_UPDATEFORM = "updateFormData"
export const MSG_MENUS_PROGRESSED = "progressed";
export const MSG_MENUS_UPDATEFORM = "updateFormData";

View File

@@ -412,8 +412,8 @@ export const randomBetween = (min, max, integer = true) => {
/**
* 根据文件名自动获取 MIME 类型
* @param {*} filename
* @returns
* @param {*} filename
* @returns
*/
function getMimeTypeFromFilename(filename) {
const defaultType = "application/octet-stream";