forked from github/dataease
refactor: 优化控制台日志
This commit is contained in:
parent
060eaba753
commit
db37df2c93
@ -127,7 +127,6 @@ const onMapMappingChange = val => {
|
||||
}
|
||||
|
||||
const onBubbleAnimateChange = val => {
|
||||
console.log(val)
|
||||
emit('onBubbleAnimateChange', val)
|
||||
}
|
||||
|
||||
|
@ -855,7 +855,6 @@ const onAreaChange = val => {
|
||||
|
||||
const onTypeChange = (render, type) => {
|
||||
const viewConf = getViewConfig(type)
|
||||
console.log(view.value)
|
||||
if (viewConf.isPlugin) {
|
||||
view.value.plugin = {
|
||||
isPlugin: true,
|
||||
|
@ -542,7 +542,7 @@ onBeforeUnmount(() => {
|
||||
myChart?.destroy()
|
||||
resizeObserver?.disconnect()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
console.warn(e)
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
@ -587,7 +587,7 @@ onBeforeUnmount(() => {
|
||||
myChart = null
|
||||
resizeObserver?.disconnect()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
console.warn(e)
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -205,7 +205,6 @@ const submitForm = async () => {
|
||||
.post({ url: '/engine/save', data: data })
|
||||
.then(res => {
|
||||
if (res !== undefined) {
|
||||
console.log(res)
|
||||
ElMessage.success(t('common.save_success'))
|
||||
emits('saved')
|
||||
reset()
|
||||
|
@ -186,7 +186,7 @@ const showApiData = () => {
|
||||
originFieldItem.jsonFields = response.data.jsonFields
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error?.message)
|
||||
console.warn(error?.message)
|
||||
})
|
||||
loading.value = false
|
||||
} else {
|
||||
@ -295,7 +295,7 @@ const next = () => {
|
||||
.catch(error => {
|
||||
disabledNext.value = false
|
||||
formLoading.value = false
|
||||
console.log(error?.message)
|
||||
console.warn(error?.message)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
@ -57,7 +57,7 @@ export default {
|
||||
})
|
||||
},
|
||||
error => {
|
||||
console.log('连接失败: ' + error)
|
||||
console.error('连接失败: ' + error)
|
||||
}
|
||||
)
|
||||
}
|
||||
@ -66,10 +66,10 @@ export default {
|
||||
if (stompClient && stompClient.connected) {
|
||||
stompClient.disconnect(
|
||||
function () {
|
||||
console.log('断开连接')
|
||||
console.info('断开连接')
|
||||
},
|
||||
function (error) {
|
||||
console.log('断开连接失败: ' + error)
|
||||
console.info('断开连接失败: ' + error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user