fix(project): fix/remove-console-log-statement (#2227)

- Remove unnecessary console.log statement
This commit is contained in:
jeremywu 2021-06-12 08:38:55 +08:00 committed by GitHub
parent a8722d9208
commit 6182fd3b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -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))

View File

@ -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(

View File

@ -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