mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
fix(project): fix/remove-console-log-statement (#2227)
- Remove unnecessary console.log statement
This commit is contained in:
parent
a8722d9208
commit
6182fd3b96
@ -276,7 +276,6 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
const formatToString = value => {
|
||||
console.log(value, props.format)
|
||||
if (!value) return null
|
||||
if (Array.isArray(value)) {
|
||||
return value.map(_=> _.format(props.format))
|
||||
|
@ -32,7 +32,6 @@ export default defineComponent({
|
||||
|
||||
provide('ElPopperOptions', props.popperOptions)
|
||||
ctx.expose(refProps)
|
||||
console.log(props)
|
||||
return () => {
|
||||
const format = props.format ?? DEFAULT_FORMATS_TIME
|
||||
return h(
|
||||
|
@ -26,7 +26,6 @@ export function useDragNodeHandler({ props, ctx, el$, dropIndicator$, store }) {
|
||||
})
|
||||
|
||||
emitter.on('tree-node-drag-start', ({ event, treeNode }: DragOptions) => {
|
||||
console.log(event, treeNode)
|
||||
if (typeof props.allowDrag === 'function' && !props.allowDrag(treeNode.node)) {
|
||||
event.preventDefault()
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user