forked from github/dataease
Merge pull request #11616 from dataease/pr@dev-v2@pref_log
pref: 优化前端日志打印
This commit is contained in:
commit
08fdb6a87f
@ -355,7 +355,7 @@ const editCursor = () => {
|
||||
plugins: 'table',
|
||||
setup: function (editor) {
|
||||
editor.on('init', function () {
|
||||
console.log('====init====')
|
||||
console.info('====init====')
|
||||
})
|
||||
}
|
||||
})
|
||||
|
@ -91,8 +91,6 @@ watch(
|
||||
)
|
||||
|
||||
const init = () => {
|
||||
console.log('relativeToCurrentRange')
|
||||
|
||||
const {
|
||||
timeNum,
|
||||
relativeToCurrentType,
|
||||
|
@ -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) {
|
||||
|
@ -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)
|
||||
|
@ -146,7 +146,6 @@ const handleNew = newComponentInfo => {
|
||||
}
|
||||
|
||||
const handleDrop = e => {
|
||||
console.log('===handleDrop2')
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
const componentInfo = e.dataTransfer.getData('id')
|
||||
|
@ -291,7 +291,6 @@ const saveDataset = () => {
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
console.log('aaa')
|
||||
loading.value = false
|
||||
createDataset.value = false
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user