diff --git a/examples/sites/demos/apis/dialog-box.js b/examples/sites/demos/apis/dialog-box.js index 6b39c6c88..3a3025b56 100644 --- a/examples/sites/demos/apis/dialog-box.js +++ b/examples/sites/demos/apis/dialog-box.js @@ -61,6 +61,14 @@ export default { mode: ['pc'], pcDemo: 'destroy-on-close' }, + { + name: 'drag-outside-window', + type: 'boolean', + defaultValue: 'false', + desc: { 'zh-CN': '可将弹窗拖出窗口', 'en-US': 'Pop ups can be dragged out of the window' }, + mode: ['pc'], + pcDemo: 'draggable' + }, { name: 'dialog-class', type: 'string', diff --git a/examples/sites/demos/pc/app/dialog-box/draggable-composition-api.vue b/examples/sites/demos/pc/app/dialog-box/draggable-composition-api.vue index 5579d58dd..5e2041d12 100644 --- a/examples/sites/demos/pc/app/dialog-box/draggable-composition-api.vue +++ b/examples/sites/demos/pc/app/dialog-box/draggable-composition-api.vue @@ -1,11 +1,13 @@