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