fix: 删除页面console
This commit is contained in:
@@ -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') {
|
||||
|
||||
@@ -585,7 +585,6 @@ export default {
|
||||
return '-'
|
||||
},
|
||||
resetState (type) {
|
||||
console.log(type)
|
||||
if (type == 'sizeOrderType') {
|
||||
this.dateOrderType = 0
|
||||
this.nameOrderType = 0
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 = '/'
|
||||
|
||||
Reference in New Issue
Block a user