fix: format
This commit is contained in:
@@ -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_FETCH = "KISS_GLOBAL_VAR_FETCH";
|
||||||
// export const MSG_GLOBAL_VAR_BACK = "KISS_GLOBAL_VAR_BACK";
|
// export const MSG_GLOBAL_VAR_BACK = "KISS_GLOBAL_VAR_BACK";
|
||||||
|
|
||||||
export const MSG_MENUS_PROGRESSED = "progressed"
|
export const MSG_MENUS_PROGRESSED = "progressed";
|
||||||
export const MSG_MENUS_UPDATEFORM = "updateFormData"
|
export const MSG_MENUS_UPDATEFORM = "updateFormData";
|
||||||
|
|||||||
@@ -412,8 +412,8 @@ export const randomBetween = (min, max, integer = true) => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据文件名自动获取 MIME 类型
|
* 根据文件名自动获取 MIME 类型
|
||||||
* @param {*} filename
|
* @param {*} filename
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
function getMimeTypeFromFilename(filename) {
|
function getMimeTypeFromFilename(filename) {
|
||||||
const defaultType = "application/octet-stream";
|
const defaultType = "application/octet-stream";
|
||||||
|
|||||||
Reference in New Issue
Block a user