dev_zt
wangqiujuan0808 2023-10-30 20:43:10 +08:00
parent 2a095a9b3c
commit ec7afcfee1
2 changed files with 5 additions and 2 deletions

View File

@ -49,7 +49,7 @@ export default {
onMounted(() => {
const pathname = window.location.hash.split('/')[1] || ''
if (!['login'].includes(pathname)) {
getUserInfo()
// getUserInfo()
}
})
const getUserInfo = async () => {

View File

@ -33,6 +33,7 @@ export default {
});
const getChartsZfl = (id, text) => {
var dom = document.getElementById(id);
console.log(dom);
var op = {
color: ['#80FFA5', '#00DDFF', '#37A2FF', '#FF0087', '#FFBF00'],
title: {
@ -239,6 +240,9 @@ export default {
}
const getEchart = (dom, op) => {
if (dom) {
// dom_echarts_instance_ididehcarts
//
dom.removeAttribute('_echarts_instance_')
var myChart = echarts.init(dom);
var option = op;
@ -267,7 +271,6 @@ export default {
width: 100%;
height: 20%;
margin: 0 auto;
border: 1px solid red;
}
}
</style>