Skip to content

Commit

Permalink
fix: update console and test
Browse files Browse the repository at this point in the history
  • Loading branch information
haocaixia committed Nov 25, 2020
1 parent f872ca1 commit 3167be4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
10 changes: 5 additions & 5 deletions examples/docs/zh-CN/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
let activeIndex2 = ref('1')
function handleSelect(key, keyPath) {
console.log(key, keyPath);
}
return {activeIndex,activeIndex2,handleSelect}
Expand Down Expand Up @@ -183,10 +183,10 @@
let defaultOpeneds = ref(["1","1-4"])
function handleOpen(key, keyPath) {
console.log(key, keyPath);
}
function handleClose(key, keyPath) {
console.log(key, keyPath);
}
return {defaultOpeneds,handleOpen,handleClose}
Expand Down Expand Up @@ -263,10 +263,10 @@
let isCollapse = ref(true)
function handleOpen(key, keyPath) {
console.log(key, keyPath);
}
function handleClose(key, keyPath) {
console.log(key, keyPath);
}
return {isCollapse,handleOpen,handleClose}
Expand Down
3 changes: 1 addition & 2 deletions examples/docs/zh-CN/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
setup() {
const activeName = ref('second')
const handleClick = (tab, event) => {
console.log(tab, event)
}
return { activeName, handleClick }
},
Expand Down Expand Up @@ -54,7 +53,7 @@
setup() {
const activeName = ref('first')
const handleClick = (tab, event) => {
console.log(tab, event)
}
return { activeName, handleClick }
},
Expand Down
2 changes: 0 additions & 2 deletions packages/notification/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ export default {
})
const horizontalClass = computed(() => {
console.log(props.position.indexOf('right') > -1 ? 'right' : 'left')
return props.position.indexOf('right') > -1 ? 'right' : 'left'
})
const verticalProperty = computed(() => {
console.log(props.position.startsWith('top') ? 'top' : 'bottom')
return props.position.startsWith('top') ? 'top' : 'bottom'
})
Expand Down

0 comments on commit 3167be4

Please sign in to comment.