Skip to content

Commit

Permalink
chore: remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Sep 13, 2024
1 parent 03f0db5 commit 32eb516
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions apps/web-ele/src/views/demos/element/index.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<script lang="ts" setup>
import { ref } from 'vue';
import { Page, useVbenModal } from '@vben/common-ui';
import { Page } from '@vben/common-ui';
import {
ElButton,
ElCard,
ElDatePicker,
ElMessage,
ElNotification,
ElSpace,
Expand Down Expand Up @@ -41,20 +38,13 @@ function notify(type: NotificationType) {
type,
});
}
const [Modal, modalApi] = useVbenModal({});
const value1 = ref('');
</script>

<template>
<Page
description="支持多语言,主题功能集成切换等"
title="Element Plus组件使用演示"
>
<Modal>
<ElDatePicker v-model="value1" type="datetime" />
</Modal>
<button @click="() => modalApi.open()">开</button>
<ElCard class="mb-5">
<template #header> 按钮 </template>
<ElSpace>
Expand Down

0 comments on commit 32eb516

Please sign in to comment.