From 2526222d7fddce3e9c10d1d95242644052c5d0f1 Mon Sep 17 00:00:00 2001 From: James-9696 Date: Sun, 27 Oct 2024 19:40:20 -0700 Subject: [PATCH] fix(drawer): [drawer] modify demo --- examples/sites/demos/apis/drawer.js | 2 +- examples/sites/demos/pc/app/drawer/width-composition-api.vue | 1 + examples/sites/demos/pc/app/drawer/width.vue | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/sites/demos/apis/drawer.js b/examples/sites/demos/apis/drawer.js index 8725ddd7b3..76ce5a8ca0 100644 --- a/examples/sites/demos/apis/drawer.js +++ b/examples/sites/demos/apis/drawer.js @@ -119,7 +119,7 @@ export default { 'en-US': '' }, mode: ['pc', 'mobile-first'], - pcDemo: 'Show bottom or not', + pcDemo: 'footer-slot', mfDemo: '' }, { diff --git a/examples/sites/demos/pc/app/drawer/width-composition-api.vue b/examples/sites/demos/pc/app/drawer/width-composition-api.vue index d7d6afee1d..6838a69851 100644 --- a/examples/sites/demos/pc/app/drawer/width-composition-api.vue +++ b/examples/sites/demos/pc/app/drawer/width-composition-api.vue @@ -19,6 +19,7 @@ const width = ref('900px') function openDrawer0() { visible.value = true + width.value = '900px' } function openDrawer1() { diff --git a/examples/sites/demos/pc/app/drawer/width.vue b/examples/sites/demos/pc/app/drawer/width.vue index 30f1dd7fb1..781aaf9039 100644 --- a/examples/sites/demos/pc/app/drawer/width.vue +++ b/examples/sites/demos/pc/app/drawer/width.vue @@ -27,6 +27,7 @@ export default { methods: { openDrawer0() { this.visible = true + this.width = '900px' }, openDrawer1() { this.width = '700px'