diff --git a/src/views/blockui/BlockUIDoc.vue b/src/views/blockui/BlockUIDoc.vue index 315967062..d49114517 100755 --- a/src/views/blockui/BlockUIDoc.vue +++ b/src/views/blockui/BlockUIDoc.vue @@ -236,7 +236,7 @@ button { import { ref } from 'vue'; export default { - data() { + setup() { const blockedPanel = ref(false); const blockedDocument = ref(false); const blockDocument = () => { diff --git a/src/views/datatable/DataTableStateDemo.vue b/src/views/datatable/DataTableStateDemo.vue index c90d2faf6..2ef88c5fa 100755 --- a/src/views/datatable/DataTableStateDemo.vue +++ b/src/views/datatable/DataTableStateDemo.vue @@ -184,7 +184,7 @@ export default {