mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改key
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { defineAsyncComponent, AsyncComponentLoader } from 'vue'
|
||||
import { AsyncLoading } from '@/components/LoadingComponent'
|
||||
|
||||
/**
|
||||
* * 异步加载组件
|
||||
* @param loader
|
||||
* @returns
|
||||
*/
|
||||
export const loadAsyncComponent = (loader: AsyncComponentLoader<any>) =>
|
||||
defineAsyncComponent({
|
||||
loader,
|
||||
loadingComponent: AsyncLoading,
|
||||
delay: 20,
|
||||
})
|
||||
+1
-1
@@ -4,7 +4,7 @@ import screenfull from 'screenfull'
|
||||
import debounce from 'lodash/debounce'
|
||||
|
||||
/**
|
||||
* * 生成一个用不重复的ID
|
||||
* * 生成一个不重复的ID
|
||||
* @param { Number } randomLength
|
||||
*/
|
||||
export function getUUID(randomLength: number) {
|
||||
|
||||
Reference in New Issue
Block a user