mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增自定义背景图
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<Skeleton repeat="3" :show="true"/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,6 +1,7 @@
|
||||
import type { App } from 'vue'
|
||||
import LoadingComponent from './index.vue'
|
||||
import AsyncLoading from './index.vue'
|
||||
import AsyncSkeletonLoading from './Skeleton.vue'
|
||||
|
||||
// 正常组件
|
||||
export { LoadingComponent }
|
||||
@@ -9,4 +10,8 @@ export { LoadingComponent }
|
||||
AsyncLoading.install = (app: App): void => {
|
||||
app.component('AsyncLoading', AsyncLoading)
|
||||
}
|
||||
export { AsyncLoading }
|
||||
|
||||
AsyncSkeletonLoading.install = (app: App): void => {
|
||||
app.component('AsyncSkeletonLoading', AsyncSkeletonLoading)
|
||||
}
|
||||
export { AsyncLoading, AsyncSkeletonLoading }
|
||||
|
||||
Reference in New Issue
Block a user