diff --git a/packages/vant/src/empty/Empty.tsx b/packages/vant/src/empty/Empty.tsx
index aa2531bfd..f996ad771 100644
--- a/packages/vant/src/empty/Empty.tsx
+++ b/packages/vant/src/empty/Empty.tsx
@@ -5,7 +5,7 @@ import {
makeStringProp,
createNamespace,
} from '../utils';
-import { renderNetwork, renderMaterial } from './Images';
+import { renderNetwork, renderMaterial, renderError } from './Images';
const [name, bem] = createNamespace('empty');
@@ -38,6 +38,9 @@ export default defineComponent({
if (image === 'default') {
return renderMaterial();
}
+ if (image === 'error') {
+ return renderError();
+ }
if (PRESET_IMAGES.includes(image)) {
image = `https://img.yzcdn.cn/vant/empty-image-${image}.png`;
diff --git a/packages/vant/src/empty/Images.tsx b/packages/vant/src/empty/Images.tsx
index eebe5a34d..ccd19d890 100644
--- a/packages/vant/src/empty/Images.tsx
+++ b/packages/vant/src/empty/Images.tsx
@@ -19,6 +19,21 @@ const renderCloudDef = () => (
);
+const renderShadowRef = () => (
+
Description