Skip to content
This repository was archived by the owner on Aug 10, 2023. It is now read-only.

Commit 80c8fcc

Browse files
committed
refactor: 删除不使用的代码
1 parent 8d371a6 commit 80c8fcc

File tree

11 files changed

+5
-4543
lines changed

11 files changed

+5
-4543
lines changed

src/App.vue

+4-21
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
<template>
2-
<tyh-button type="primary" @click="open = true">点我打开</tyh-button>
3-
<tyh-drawer v-model="open" direction="right" :showHeader="false">
4-
hello,欢迎使用 tyh-ui!
5-
</tyh-drawer>
2+
<tyh-button type="primary">主要按钮</tyh-button>
63
</template>
74

85
<script setup>
9-
import { ref } from 'vue'
10-
const radio = ref('right')
11-
const open = ref(false)
12-
const open2 = ref(false)
136
14-
function close () {
15-
console.log('点击关闭的回调')
16-
}
17-
function onClose () {
18-
console.log('动画结束的回调')
19-
}
20-
21-
function isOpen () {
22-
console.log('点击打开的回调----------->')
23-
}
24-
function onOpen () {
25-
console.log('动画打开结束的回调----------->')
26-
}
277
</script>
8+
9+
<style scoped>
10+
</style>

src/demo/Drawer.vue

-209
This file was deleted.

0 commit comments

Comments
 (0)