style: 全量补充作者标识 // Author: fruit.com.cn

This commit is contained in:
Zhou Weidong committed 2026-10-16 00:02:03 +08:00
1 parent 2fa1416c3e
commit 1fd0b8b100
221 files changed
+442

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
/**
* 判断是否 十六进制颜色值.
* 输入形式可为 #fff000 #f00
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
import { ref } from 'vue'
/**
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
/**
* Independent time operation tool to facilitate subsequent switch to dayjs
*/
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
import { isServer } from './is'
const ieVersion = isServer ? 0 : Number((document as any).documentMode)
const SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
/** 播放量等大数值的展示格式:12345 → 1.2万,3100000 → 310.0万 */
export function formatCount(value) {
const num = Number(value || 0)
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
// import type { Plugin } from 'vue'
/**
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
// copy to vben-admin
const toString = Object.prototype.toString
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
import { usePermissionStoreWithOut } from '@/store/modules/permission'
/**
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
import { VueTypeValidableDef, VueTypesInterface, createTypes, toValidableType } from 'vue-types'
import { CSSProperties } from 'vue'
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
import { createRouter, createWebHashHistory } from 'vue-router'
import type {
Router,
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
const statusClasses = {
published: 'is-online',
reviewing: 'is-reviewing',
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
interface TreeHelperConfig {
id: string
children: string
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
import { Slots } from 'vue'
import { isFunction } from '@/utils/is'
+2
View File
@@ -1,3 +1,5 @@
// Author: fruit.com.cn
import {
completeUploadApi,
getUploadProgressApi,