fix: 去除打印
This commit is contained in:
@@ -616,7 +616,7 @@ export default {
|
|||||||
})
|
})
|
||||||
Promise.all(promiseArr).then((res) => {
|
Promise.all(promiseArr).then((res) => {
|
||||||
getTopology(this.topologyIndex).open(data)
|
getTopology(this.topologyIndex).open(data)
|
||||||
console.log(data)
|
// console.log(data)
|
||||||
getTopology(this.topologyIndex).lock(1)
|
getTopology(this.topologyIndex).lock(1)
|
||||||
this.objChange = false
|
this.objChange = false
|
||||||
let flag = false
|
let flag = false
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
if( this.isEdit ) {
|
if( this.isEdit ) {
|
||||||
window.onbeforeunload = () => {
|
window.onbeforeunload = () => {
|
||||||
return window.confirm("确认操作吗?")
|
return "确认离开当前页面吗?未保存的数据将会丢失"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1754,7 +1754,6 @@ export default {
|
|||||||
created () {
|
created () {
|
||||||
this.getSuggestMetric()
|
this.getSuggestMetric()
|
||||||
this.queryMetrics()
|
this.queryMetrics()
|
||||||
console.log(this.isEdit)
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
chart: {
|
chart: {
|
||||||
|
|||||||
Reference in New Issue
Block a user