top图字段修改完成
This commit is contained in:
parent
97814f5764
commit
42f37a4137
|
|
@ -41,24 +41,34 @@ export default {
|
|||
hourItem=hoverNode;
|
||||
}else {
|
||||
if (hourItem!=null){
|
||||
hourItem.setState("hover", false)
|
||||
try {
|
||||
hourItem.setState("hover", false)
|
||||
}catch (e){
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
onNodeOut(event) {
|
||||
console.log(hourItem)
|
||||
const name = event.shape.get("name");
|
||||
let hoverNode = event.item;
|
||||
if (name && name.startsWith("marker")) {
|
||||
hoverNode.setState("hover", false);
|
||||
}
|
||||
if (hourItem!=null){
|
||||
hourItem.setState("hover", false)
|
||||
if (hourItem!=null&&hourItem.destroyed){
|
||||
try {
|
||||
hourItem.setState("hover", false)
|
||||
}catch (e){
|
||||
}
|
||||
}
|
||||
hoverNode.setState("hover", false);
|
||||
},
|
||||
onNodeLeave(event) {
|
||||
if (hourItem!=null){
|
||||
hourItem.setState("hover", false)
|
||||
try {
|
||||
hourItem.setState("hover", false)
|
||||
}catch (e){
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -90,6 +90,7 @@ export default {
|
|||
this.randomChange()
|
||||
},
|
||||
doSaveData(graphData) {
|
||||
console.log(JSON.stringify(graphData))
|
||||
let data = {
|
||||
id : this.topId,
|
||||
topJson:JSON.stringify(graphData)
|
||||
|
|
|
|||
|
|
@ -10,9 +10,11 @@ spring:
|
|||
# username: hcybase
|
||||
# password: hcybase@2020
|
||||
# url: jdbc:mysql://13.75.92.40:3306/gen?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# username: gen
|
||||
# password: zcsbKxPseM8LhFdT
|
||||
url: jdbc:mysql://127.0.0.1:3306/gen?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: gen
|
||||
password: zcsbKxPseM8LhFdT
|
||||
username: root
|
||||
password: 926425
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
|
|
|
|||
Loading…
Reference in New Issue