Commit 38f9284593c48529516db93ce73687054072b1b3

Authored by zy
1 parent 24f0e4dd

fix:redis监控echarts图表不显示

yudao-ui-admin/src/views/infra/redis/index.vue
... ... @@ -136,8 +136,8 @@
136 136  
137 137 <script>
138 138 import {getCache, getKeyDefineList, getKeyList, getKeyValue, deleteKey, deleteKeys} from "@/api/infra/redis";
139   -import echarts from "echarts";
140   -
  139 +import * as echarts from 'echarts'
  140 +require('echarts/theme/macarons') // echarts theme
141 141 export default {
142 142 name: "Server",
143 143 data () {
... ...