删除console

This commit is contained in:
zhangyu
2021-06-23 15:58:43 +08:00
parent becfb5b120
commit 0defa0799d
5 changed files with 0 additions and 10 deletions

View File

@@ -49,7 +49,6 @@ export default {
deep: true, deep: true,
immediate: true, immediate: true,
handler (n) { handler (n) {
console.log(n)
} }
} }
}, },

View File

@@ -24,8 +24,6 @@ const isSameOrBefore = require('dayjs/plugin/isSameOrBefore')
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e } } function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e } }
const dayjs__default = /* #__PURE__ */_interopDefaultLegacy(window.$dayJs) const dayjs__default = /* #__PURE__ */_interopDefaultLegacy(window.$dayJs)
console.log(window.$dayJs.tz().format('YYYY-MM-DD HH:mm:ss'))
console.log(window.$dayJs.tz.guess())
const ElInput__default = /* #__PURE__ */_interopDefaultLegacy(ElInput) const ElInput__default = /* #__PURE__ */_interopDefaultLegacy(ElInput)
const ElButton__default = /* #__PURE__ */_interopDefaultLegacy(ElButton) const ElButton__default = /* #__PURE__ */_interopDefaultLegacy(ElButton)
const customParseFormat__default = /* #__PURE__ */_interopDefaultLegacy(customParseFormat) const customParseFormat__default = /* #__PURE__ */_interopDefaultLegacy(customParseFormat)

View File

@@ -144,7 +144,6 @@ export default {
}, },
methods: { methods: {
statusChange (user) { statusChange (user) {
console.log(user)
if (user.roles) { if (user.roles) {
user.roleIds = user.roles.map(t => t.id) user.roleIds = user.roles.map(t => t.id)
} }

View File

@@ -131,7 +131,6 @@ export default {
const self = this const self = this
const now = this.dayJs.tz().valueOf() const now = this.dayJs.tz().valueOf()
const params = this.chartInfo.params ? JSON.parse(this.chartInfo.params) : null const params = this.chartInfo.params ? JSON.parse(this.chartInfo.params) : null
console.log(params)
if (this.isEcharts) { if (this.isEcharts) {
myChart = echarts.init(document.getElementById(`chart${this.chartInfo.id}`)) myChart = echarts.init(document.getElementById(`chart${this.chartInfo.id}`))
myChart.setOption(this.chartOption) myChart.setOption(this.chartOption)
@@ -155,7 +154,6 @@ export default {
}) */ }) */
self.pieTableData = pieTableDatas self.pieTableData = pieTableDatas
myChart.on('click', function (echartParams) { myChart.on('click', function (echartParams) {
console.log(echartParams)
/* get(params.urlTable, { startTime: this.startTime, endTime: this.endTime, fqdnCategoryName: echartParams.name }).then(response => { /* get(params.urlTable, { startTime: this.startTime, endTime: this.endTime, fqdnCategoryName: echartParams.name }).then(response => {
console.log(response) console.log(response)
}) */ }) */
@@ -211,7 +209,6 @@ export default {
}, },
mounted () { mounted () {
this.initChart() this.initChart()
console.log(this.layout)
}, },
setup (props) { setup (props) {
const chartInfo = JSON.parse(JSON.stringify(props.chart)) const chartInfo = JSON.parse(JSON.stringify(props.chart))

View File

@@ -52,7 +52,6 @@ export default {
}, },
async mounted () { async mounted () {
const panels = await getPanelList({ type: this.panelType }) const panels = await getPanelList({ type: this.panelType })
console.log(panels)
if (panels && panels.length > 0) { if (panels && panels.length > 0) {
this.panel = panels[0] this.panel = panels[0]
} }
@@ -61,7 +60,6 @@ export default {
chart.i = chart.id chart.i = chart.id
return chart return chart
}) })
console.log(this.chartList)
} }
}, },
setup (props, ctx) { setup (props, ctx) {
@@ -119,7 +117,6 @@ export default {
this.init() this.init()
return return
} }
console.log(this.$refs.dateTimeRange.isCustom)
if (this.$refs.dateTimeRange.isCustom) { if (this.$refs.dateTimeRange.isCustom) {
this.init() this.init()
} else { } else {