style:去除浏览器打印
This commit is contained in:
@@ -267,7 +267,6 @@ export default {
|
|||||||
this.calcPosition(e)
|
this.calcPosition(e)
|
||||||
},
|
},
|
||||||
calcPosition (e) {
|
calcPosition (e) {
|
||||||
console.log(e)
|
|
||||||
const boxWidth = this.boxWidth
|
const boxWidth = this.boxWidth
|
||||||
const distance = this.fromType === 'asset' ? 300 : 50
|
const distance = this.fromType === 'asset' ? 300 : 50
|
||||||
const minus = (e.pageY - distance) + this.$refs.alertLabel.$el.offsetHeight - window.innerHeight
|
const minus = (e.pageY - distance) + this.$refs.alertLabel.$el.offsetHeight - window.innerHeight
|
||||||
|
|||||||
@@ -338,7 +338,6 @@ export default {
|
|||||||
this.$refs.calendar.pickerVisible = true
|
this.$refs.calendar.pickerVisible = true
|
||||||
if (document.getElementById('viewGraphDialog')) { // 处理 多弹出的z-index的问题 当前为 alertMessage的处理
|
if (document.getElementById('viewGraphDialog')) { // 处理 多弹出的z-index的问题 当前为 alertMessage的处理
|
||||||
const viewGraphDialogStyle = window.getComputedStyle(document.getElementById('viewGraphDialog', null))
|
const viewGraphDialogStyle = window.getComputedStyle(document.getElementById('viewGraphDialog', null))
|
||||||
console.log(viewGraphDialogStyle['z-index'])
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (viewGraphDialogStyle['z-index'] !== 'auto') {
|
if (viewGraphDialogStyle['z-index'] !== 'auto') {
|
||||||
const dom = document.getElementsByClassName('el-picker-panel')
|
const dom = document.getElementsByClassName('el-picker-panel')
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ export default {
|
|||||||
this.exploreItems.splice(tabIndex, 1)
|
this.exploreItems.splice(tabIndex, 1)
|
||||||
} else {
|
} else {
|
||||||
this.exploreItems.push(index === 0 ? 1 : 0)
|
this.exploreItems.push(index === 0 ? 1 : 0)
|
||||||
console.log(this.$refs.exploreItem[0].showMetrics)
|
|
||||||
if (!this.$refs.exploreItem[0].showMetrics) {
|
if (!this.$refs.exploreItem[0].showMetrics) {
|
||||||
this.$nextTick(()=>{
|
this.$nextTick(()=>{
|
||||||
this.$refs.exploreItem[1].selectMetricsLogs(this.$t('overall.logs'), 'nz-icon nz-icon-logs', 'Logs')
|
this.$refs.exploreItem[1].selectMetricsLogs(this.$t('overall.logs'), 'nz-icon nz-icon-logs', 'Logs')
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ router.beforeEach((to, from, next) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
Promise.all([i18nRequest, permissionRequest]).then(response => {
|
Promise.all([i18nRequest, permissionRequest]).then(response => {
|
||||||
console.info(response)
|
|
||||||
if (to.path) {
|
if (to.path) {
|
||||||
if (permissionWhiteList.indexOf(to.path) !== -1) {
|
if (permissionWhiteList.indexOf(to.path) !== -1) {
|
||||||
next()
|
next()
|
||||||
|
|||||||
Reference in New Issue
Block a user