mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
refactor: remove console
This commit is contained in:
parent
78cea01c88
commit
3bb5fda2fd
@ -4,21 +4,16 @@ import type { CSSProperties } from 'vue'
|
||||
import { computed, toRefs } from 'vue'
|
||||
import { useIconify } from '../composables/iconify.js'
|
||||
|
||||
const props = defineProps({
|
||||
name: {
|
||||
type: String,
|
||||
require: true,
|
||||
default: '',
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
color: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
})
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
name?: string
|
||||
size?: string
|
||||
color?: string
|
||||
}>(),
|
||||
{
|
||||
name: '',
|
||||
}
|
||||
)
|
||||
|
||||
const { name } = toRefs(props)
|
||||
|
||||
|
||||
@ -21,8 +21,6 @@ import {
|
||||
|
||||
const page = usePageData<PlumeThemePageData>()
|
||||
|
||||
console.log(page)
|
||||
|
||||
const {
|
||||
isOpen: isSidebarOpen,
|
||||
open: openSidebar,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user