Merge pull request #11616 from dataease/pr@dev-v2@pref_log

pref: 优化前端日志打印
This commit is contained in:
王嘉豪 2024-08-16 18:11:56 +08:00 committed by GitHub
commit 08fdb6a87f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 1 additions and 7 deletions

View File

@ -355,7 +355,7 @@ const editCursor = () => {
plugins: 'table',
setup: function (editor) {
editor.on('init', function () {
console.log('====init====')
console.info('====init====')
})
}
})

View File

@ -91,8 +91,6 @@ watch(
)
const init = () => {
console.log('relativeToCurrentRange')
const {
timeNum,
relativeToCurrentType,

View File

@ -539,7 +539,6 @@ export const dvMainStore = defineStore('dataVisualization', {
if (item.linkageFilters && item.linkageFilters.length > 0) {
const historyLinkageFiltersLength = item.linkageFilters.length
const newList = item.linkageFilters.filter(linkage => linkage.sourceViewId !== viewId)
console.log('===newList= ' + JSON.stringify(newList))
item.linkageFilters.splice(0, item.linkageFilters.length)
// 重新push 可保证数组指针不变 可以watch到
if (newList.length > 0) {

View File

@ -239,7 +239,6 @@ export function createGroupStyle(groupComponent) {
function dataVTabSizeStyleAdaptor(tabComponent) {
const parentStyleAdaptor = { ...tabComponent.style }
parentStyleAdaptor.height = parentStyleAdaptor.height - 48
console.log('canvasId=tabs' + JSON.stringify(parentStyleAdaptor))
tabComponent.propValue.forEach(tabItem => {
tabItem.componentData.forEach(tabComponent => {
groupItemStyleAdaptor(tabComponent, parentStyleAdaptor)

View File

@ -146,7 +146,6 @@ const handleNew = newComponentInfo => {
}
const handleDrop = e => {
console.log('===handleDrop2')
e.preventDefault()
e.stopPropagation()
const componentInfo = e.dataTransfer.getData('id')

View File

@ -291,7 +291,6 @@ const saveDataset = () => {
})
})
.catch(() => {
console.log('aaa')
loading.value = false
createDataset.value = false
})