fix: 删除页面console

This commit is contained in:
zhangyu
2023-03-14 13:52:26 +08:00
parent d8af92cef2
commit 505c08af0f
5 changed files with 0 additions and 9 deletions

View File

@@ -122,7 +122,6 @@ export default {
let url = ''
this.terminal.height = document.body.clientHeight - 100
this.terminal.width = document.body.clientWidth
console.log(this.term.cols, this.term.cols)
if (this.terminal.type === 'asset') {
url = baseUrl + '/terminal.ws?width=' + this.terminal.width + '&height=' + this.terminal.height + '&cols=' + this.term.cols + '&rows=' + this.term.rows + '&token=' + token + '&assetId=' + this.terminal.assetId + '&accountId=' + this.terminal.accountId + '&uuid=' + this.terminal.uuid
} else if (this.terminal.type === 'custom') {

View File

@@ -585,7 +585,6 @@ export default {
return '-'
},
resetState (type) {
console.log(type)
if (type == 'sizeOrderType') {
this.dateOrderType = 0
this.nameOrderType = 0

View File

@@ -373,7 +373,6 @@ export default {
}
},
changeSearchStr () {
console.log(this.searchStr, 'changeSearchStr')
const arr = this.searchStr.split(':')
if (arr.length > 1) {
this.setValueList(arr[1])
@@ -475,21 +474,17 @@ export default {
const findItem = this.selectArr.find(item => item.key === this.editTagObj.key)
if (findItem) {
this.selectArr.splice(this.editTagIndex, 1)
console.log(findItem, this.editDialogObj.value)
findItem.value = findItem.value.concat(this.editDialogObj.value)
findItem.value = findItem.value.filter(function (item, index) {
return findItem.value.indexOf(item) === index // 因为indexOf 只能查找到第一个
})
console.log(findItem.value)
} else {
this.selectArr[this.editTagIndex] = this.$loadsh.cloneDeep(this.editTagObj)
}
},
querySearch (queryString, cb) {
const restaurants = this.oldSearchList.map(item => { return { value: item.name } })
console.log(restaurants)
const results = queryString ? restaurants.filter(name => name.value.indexOf(queryString) !== -1) : restaurants
console.log(results)
cb(results)
},
handleSelect () {

View File

@@ -3560,7 +3560,6 @@ export default {
methods: {
jumpClick (id) {
const dom = document.getElementsByClassName('nz-explore-' + this.tabIndex)[0]
console.log(dom)
dom.querySelector(id).scrollIntoView(true)
},
selectMetricsLogs (val, icon, label) {

View File

@@ -34,7 +34,6 @@ const terminalFile = {
state.externalTerminal = false
}
if (data.isLogout) {
console.log(state, self)
get('logout').then(() => {
self.commit('logoutSuccess')
document.location.href = '/'