fix: code lint packages
							parent
							
								
									4243b3000b
								
							
						
					
					
						commit
						e702e4aba0
					
				|  | @ -19,8 +19,10 @@ export { | ||||||
|   CircleCheckBig, |   CircleCheckBig, | ||||||
|   CircleHelp, |   CircleHelp, | ||||||
|   CircleX, |   CircleX, | ||||||
|  |   CloudUpload, | ||||||
|   Copy, |   Copy, | ||||||
|   CornerDownLeft, |   CornerDownLeft, | ||||||
|  |   Download, | ||||||
|   Ellipsis, |   Ellipsis, | ||||||
|   Expand, |   Expand, | ||||||
|   ExternalLink, |   ExternalLink, | ||||||
|  | @ -31,6 +33,7 @@ export { | ||||||
|   Github, |   Github, | ||||||
|   Grip, |   Grip, | ||||||
|   GripVertical, |   GripVertical, | ||||||
|  |   History, | ||||||
|   Menu as IconDefault, |   Menu as IconDefault, | ||||||
|   Info, |   Info, | ||||||
|   InspectionPanel, |   InspectionPanel, | ||||||
|  | @ -63,10 +66,7 @@ export { | ||||||
|   Sun, |   Sun, | ||||||
|   SunMoon, |   SunMoon, | ||||||
|   SwatchBook, |   SwatchBook, | ||||||
|  |   Upload, | ||||||
|   UserRoundPen, |   UserRoundPen, | ||||||
|   X, |   X, | ||||||
|   Download, |  | ||||||
|   Upload, |  | ||||||
|   CloudUpload, |  | ||||||
|   History, |  | ||||||
| } from 'lucide-vue-next'; | } from 'lucide-vue-next'; | ||||||
|  |  | ||||||
|  | @ -2,7 +2,8 @@ | ||||||
|  * @zh_CN GITHUB 仓库地址 |  * @zh_CN GITHUB 仓库地址 | ||||||
|  */ |  */ | ||||||
| // export const VBEN_GITHUB_URL = 'https://github.com/vbenjs/vue-vben-admin';
 | // export const VBEN_GITHUB_URL = 'https://github.com/vbenjs/vue-vben-admin';
 | ||||||
| export const VBEN_GITHUB_URL = 'https://github.com/yudaocode/yudao-ui-admin-vben'; | export const VBEN_GITHUB_URL = | ||||||
|  |   'https://github.com/yudaocode/yudao-ui-admin-vben'; | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * @zh_CN 文档地址 |  * @zh_CN 文档地址 | ||||||
|  |  | ||||||
|  | @ -6,23 +6,34 @@ for (let i = 0; i <= 15; i++) { | ||||||
| export function buildUUID(): string { | export function buildUUID(): string { | ||||||
|   let uuid = ''; |   let uuid = ''; | ||||||
|   for (let i = 1; i <= 36; i++) { |   for (let i = 1; i <= 36; i++) { | ||||||
|     if (i === 9 || i === 14 || i === 19 || i === 24) { |     switch (i) { | ||||||
|       uuid += '-'; |       case 9: | ||||||
|     } else if (i === 15) { |       case 14: | ||||||
|       uuid += 4; |       case 19: | ||||||
|     } else if (i === 20) { |       case 24: { | ||||||
|       uuid += hexList[(Math.random() * 4) | 8]; |         uuid += '-'; | ||||||
|     } else { |         break; | ||||||
|       uuid += hexList[(Math.random() * 16) | 0]; |       } | ||||||
|  |       case 15: { | ||||||
|  |         uuid += 4; | ||||||
|  |         break; | ||||||
|  |       } | ||||||
|  |       case 20: { | ||||||
|  |         uuid += hexList[(Math.random() * 4) | 8]; | ||||||
|  |         break; | ||||||
|  |       } | ||||||
|  |       default: { | ||||||
|  |         uuid += hexList[Math.trunc(Math.random() * 16)]; | ||||||
|  |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|   return uuid.replace(/-/g, ''); |   return uuid.replaceAll('-', ''); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| let unique = 0; | let unique = 0; | ||||||
| export function buildShortUUID(prefix = ''): string { | export function buildShortUUID(prefix = ''): string { | ||||||
|   const time = Date.now(); |   const time = Date.now(); | ||||||
|   const random = Math.floor(Math.random() * 1000000000); |   const random = Math.floor(Math.random() * 1_000_000_000); | ||||||
|   unique++; |   unique++; | ||||||
|   return prefix + '_' + random + unique + String(time); |   return `${prefix}_${random}${unique}${String(time)}`; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -91,4 +91,9 @@ interface MenuRecordRaw extends MenuRecordBadgeRaw { | ||||||
|   show?: boolean; |   show?: boolean; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export type { ExRouteRecordRaw, MenuRecordBadgeRaw, MenuRecordRaw, AppRouteRecordRaw }; | export type { | ||||||
|  |   AppRouteRecordRaw, | ||||||
|  |   ExRouteRecordRaw, | ||||||
|  |   MenuRecordBadgeRaw, | ||||||
|  |   MenuRecordRaw, | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | @ -5,4 +5,4 @@ export { default as SliderCaptcha } from './slider-captcha/index.vue'; | ||||||
| export { default as SliderRotateCaptcha } from './slider-rotate-captcha/index.vue'; | export { default as SliderRotateCaptcha } from './slider-rotate-captcha/index.vue'; | ||||||
| export type * from './types'; | export type * from './types'; | ||||||
| 
 | 
 | ||||||
| export { default as Verification } from './verification/index.vue'; | export { default as Verification } from './verification/index.vue'; | ||||||
|  |  | ||||||
|  | @ -14,17 +14,33 @@ defineOptions({ | ||||||
|       <span class="border-input w-[35%] border-b dark:border-gray-600"></span> |       <span class="border-input w-[35%] border-b dark:border-gray-600"></span> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div class="w-full mt-4 flex justify-between"> |     <div class="mt-4 flex w-full justify-between"> | ||||||
|       <a href="https://doc.iocoder.cn/" target="_blank" class="text-primary hover:text-primary/80 text-sm"> |       <a | ||||||
|  |         href="https://doc.iocoder.cn/" | ||||||
|  |         target="_blank" | ||||||
|  |         class="text-primary hover:text-primary/80 text-sm" | ||||||
|  |       > | ||||||
|         📚 开发指南 |         📚 开发指南 | ||||||
|       </a> |       </a> | ||||||
|       <a href="https://doc.iocoder.cn/video/" target="_blank" class="text-primary hover:text-primary/80 text-sm"> |       <a | ||||||
|  |         href="https://doc.iocoder.cn/video/" | ||||||
|  |         target="_blank" | ||||||
|  |         class="text-primary hover:text-primary/80 text-sm" | ||||||
|  |       > | ||||||
|         🔥 视频教程 |         🔥 视频教程 | ||||||
|       </a> |       </a> | ||||||
|       <a href="https://www.iocoder.cn/Interview/good-collection/" target="_blank" class="text-primary hover:text-primary/80 text-sm"> |       <a | ||||||
|  |         href="https://www.iocoder.cn/Interview/good-collection/" | ||||||
|  |         target="_blank" | ||||||
|  |         class="text-primary hover:text-primary/80 text-sm" | ||||||
|  |       > | ||||||
|         ⚡ 面试手册 |         ⚡ 面试手册 | ||||||
|       </a> |       </a> | ||||||
|       <a href="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" target="_blank" class="text-primary hover:text-primary/80 text-sm"> |       <a | ||||||
|  |         href="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" | ||||||
|  |         target="_blank" | ||||||
|  |         class="text-primary hover:text-primary/80 text-sm" | ||||||
|  |       > | ||||||
|         🤝 外包咨询 |         🤝 外包咨询 | ||||||
|       </a> |       </a> | ||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| <script setup lang="ts"> | <script setup lang="ts"> | ||||||
| import { MdiGithub, MdiQqchat, MdiWechat, AntdDingTalk } from '@vben/icons'; | import { AntdDingTalk, MdiGithub, MdiQqchat, MdiWechat } from '@vben/icons'; | ||||||
| import { $t } from '@vben/locales'; | import { $t } from '@vben/locales'; | ||||||
| 
 | 
 | ||||||
| import { VbenIconButton } from '@vben-core/shadcn-ui'; | import { VbenIconButton } from '@vben-core/shadcn-ui'; | ||||||
|  |  | ||||||
|  | @ -1,8 +1,8 @@ | ||||||
| import type { | import type { | ||||||
|   // 系列类型的定义后缀都为 SeriesOption
 |   // 系列类型的定义后缀都为 SeriesOption
 | ||||||
|   BarSeriesOption, |   BarSeriesOption, | ||||||
|   LineSeriesOption, |  | ||||||
|   GaugeSeriesOption, |   GaugeSeriesOption, | ||||||
|  |   LineSeriesOption, | ||||||
| } from 'echarts/charts'; | } from 'echarts/charts'; | ||||||
| import type { | import type { | ||||||
|   DatasetComponentOption, |   DatasetComponentOption, | ||||||
|  | @ -13,7 +13,13 @@ import type { | ||||||
| } from 'echarts/components'; | } from 'echarts/components'; | ||||||
| import type { ComposeOption } from 'echarts/core'; | import type { ComposeOption } from 'echarts/core'; | ||||||
| 
 | 
 | ||||||
| import { BarChart, LineChart, PieChart, RadarChart, GaugeChart } from 'echarts/charts'; | import { | ||||||
|  |   BarChart, | ||||||
|  |   GaugeChart, | ||||||
|  |   LineChart, | ||||||
|  |   PieChart, | ||||||
|  |   RadarChart, | ||||||
|  | } from 'echarts/charts'; | ||||||
| import { | import { | ||||||
|   // 数据集组件
 |   // 数据集组件
 | ||||||
|   DatasetComponent, |   DatasetComponent, | ||||||
|  | @ -33,9 +39,9 @@ import { CanvasRenderer } from 'echarts/renderers'; | ||||||
| export type ECOption = ComposeOption< | export type ECOption = ComposeOption< | ||||||
|   | BarSeriesOption |   | BarSeriesOption | ||||||
|   | DatasetComponentOption |   | DatasetComponentOption | ||||||
|  |   | GaugeSeriesOption | ||||||
|   | GridComponentOption |   | GridComponentOption | ||||||
|   | LineSeriesOption |   | LineSeriesOption | ||||||
|   | GaugeSeriesOption |  | ||||||
|   | TitleComponentOption |   | TitleComponentOption | ||||||
|   | TooltipComponentOption |   | TooltipComponentOption | ||||||
| >; | >; | ||||||
|  |  | ||||||
|  | @ -18,4 +18,6 @@ export const MdiCheckboxMarkedCircleOutline = createIconifyIcon( | ||||||
|   'mdi:checkbox-marked-circle-outline', |   'mdi:checkbox-marked-circle-outline', | ||||||
| ); | ); | ||||||
| 
 | 
 | ||||||
| export const AntdProfileOutlined = createIconifyIcon('ant-design:profile-outlined'); | export const AntdProfileOutlined = createIconifyIcon( | ||||||
|  |   'ant-design:profile-outlined', | ||||||
|  | ); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 xingyu4j
						xingyu4j