diff --git a/packages/components/dialog/src/dialog.vue b/packages/components/dialog/src/dialog.vue
index 2d1c884d7f..c7fa043063 100644
--- a/packages/components/dialog/src/dialog.vue
+++ b/packages/components/dialog/src/dialog.vue
@@ -45,12 +45,13 @@
>
-
+
@@ -92,7 +93,7 @@ useDeprecated(
scope: 'el-dialog',
from: 'the title slot',
replacement: 'the header slot',
- version: '2.3.0',
+ version: '3.0.0',
ref: 'https://element-plus.org/en-US/component/dialog.html#slots',
},
computed(() => !!slots.title)
diff --git a/packages/components/drawer/src/drawer.vue b/packages/components/drawer/src/drawer.vue
index aa25381415..fbd803eb9b 100644
--- a/packages/components/drawer/src/drawer.vue
+++ b/packages/components/drawer/src/drawer.vue
@@ -41,21 +41,17 @@
/>
-
+
{{ title }}
-
+