|
@@ -181,7 +181,7 @@ export default {
|
|
tabKey:'click',
|
|
tabKey:'click',
|
|
|
|
|
|
//echart的参数
|
|
//echart的参数
|
|
- option,
|
|
|
|
|
|
+ option:JSON.parse(JSON.stringify(option)),
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -342,8 +342,8 @@ export default {
|
|
// this.HttpPost()
|
|
// this.HttpPost()
|
|
|
|
|
|
console.log(this.dateStr)
|
|
console.log(this.dateStr)
|
|
- this.option.legend.data=[...option.legend.data,...this.dateStr];
|
|
|
|
- console.log(this.option.legend.data)
|
|
|
|
|
|
+ this.option=JSON.parse(JSON.stringify(option))
|
|
|
|
+ console.log(this.option.legend.data,option,'------------------------------')
|
|
postAction('/pangolin/api/app/list').then(res=>{
|
|
postAction('/pangolin/api/app/list').then(res=>{
|
|
console.log(res)
|
|
console.log(res)
|
|
if(res.success){
|
|
if(res.success){
|