|
@@ -13,6 +13,7 @@
|
|
|
image="error"
|
|
image="error"
|
|
|
:description="loader.loadError.value"
|
|
:description="loader.loadError.value"
|
|
|
>
|
|
>
|
|
|
|
|
+ <Height :height="20" />
|
|
|
<Button type="primary" text="刷新" @click="handleRetry" />
|
|
<Button type="primary" text="刷新" @click="handleRetry" />
|
|
|
</Empty>
|
|
</Empty>
|
|
|
</view>
|
|
</view>
|
|
@@ -24,6 +25,7 @@
|
|
|
image="search"
|
|
image="search"
|
|
|
:description="emptyView?.text ?? '暂无数据'"
|
|
:description="emptyView?.text ?? '暂无数据'"
|
|
|
>
|
|
>
|
|
|
|
|
+ <Height :height="20" />
|
|
|
<Button
|
|
<Button
|
|
|
v-if="emptyView?.button"
|
|
v-if="emptyView?.button"
|
|
|
type="primary"
|
|
type="primary"
|
|
@@ -50,6 +52,7 @@ import type { ISimplePageContentLoader } from '../composeabe/SimplePageContentLo
|
|
|
import Empty from '@/components/feedback/Empty.vue';
|
|
import Empty from '@/components/feedback/Empty.vue';
|
|
|
import Button from '@/components/basic/Button.vue';
|
|
import Button from '@/components/basic/Button.vue';
|
|
|
import LoadingPage from '@/components/display/loading/LoadingPage.vue';
|
|
import LoadingPage from '@/components/display/loading/LoadingPage.vue';
|
|
|
|
|
+import Height from '@/components/layout/space/Height.vue';
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
loader: {
|
|
loader: {
|