升级echarts到最新版本5.4.0
This commit is contained in:
		
							parent
							
								
									39298d803c
								
							
						
					
					
						commit
						3039b745a9
					
				@ -40,7 +40,7 @@
 | 
				
			|||||||
    "axios": "0.24.0",
 | 
					    "axios": "0.24.0",
 | 
				
			||||||
    "clipboard": "2.0.8",
 | 
					    "clipboard": "2.0.8",
 | 
				
			||||||
    "core-js": "3.25.3",
 | 
					    "core-js": "3.25.3",
 | 
				
			||||||
    "echarts": "4.9.0",
 | 
					    "echarts": "5.4.0",
 | 
				
			||||||
    "element-ui": "2.15.10",
 | 
					    "element-ui": "2.15.10",
 | 
				
			||||||
    "file-saver": "2.0.5",
 | 
					    "file-saver": "2.0.5",
 | 
				
			||||||
    "fuse.js": "6.4.3",
 | 
					    "fuse.js": "6.4.3",
 | 
				
			||||||
 | 
				
			|||||||
@ -39,7 +39,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  mounted() {
 | 
					  mounted() {
 | 
				
			||||||
    this.insertToBody()
 | 
					 | 
				
			||||||
    this.addEventClick()
 | 
					    this.addEventClick()
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  beforeDestroy() {
 | 
					  beforeDestroy() {
 | 
				
			||||||
@ -56,11 +55,6 @@ export default {
 | 
				
			|||||||
        this.show = false
 | 
					        this.show = false
 | 
				
			||||||
        window.removeEventListener('click', this.closeSidebar)
 | 
					        window.removeEventListener('click', this.closeSidebar)
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    insertToBody() {
 | 
					 | 
				
			||||||
      const elx = this.$refs.rightPanel
 | 
					 | 
				
			||||||
      const body = document.querySelector('body')
 | 
					 | 
				
			||||||
      body.insertBefore(elx, body.firstChild)
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import echarts from 'echarts'
 | 
					import * as echarts from 'echarts';
 | 
				
			||||||
require('echarts/theme/macarons') // echarts theme
 | 
					require('echarts/theme/macarons') // echarts theme
 | 
				
			||||||
import resize from './mixins/resize'
 | 
					import resize from './mixins/resize'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import echarts from 'echarts'
 | 
					import * as echarts from 'echarts';
 | 
				
			||||||
require('echarts/theme/macarons') // echarts theme
 | 
					require('echarts/theme/macarons') // echarts theme
 | 
				
			||||||
import resize from './mixins/resize'
 | 
					import resize from './mixins/resize'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import echarts from 'echarts'
 | 
					import * as echarts from 'echarts';
 | 
				
			||||||
require('echarts/theme/macarons') // echarts theme
 | 
					require('echarts/theme/macarons') // echarts theme
 | 
				
			||||||
import resize from './mixins/resize'
 | 
					import resize from './mixins/resize'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import echarts from 'echarts'
 | 
					import * as echarts from 'echarts';
 | 
				
			||||||
require('echarts/theme/macarons') // echarts theme
 | 
					require('echarts/theme/macarons') // echarts theme
 | 
				
			||||||
import resize from './mixins/resize'
 | 
					import resize from './mixins/resize'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								ruoyi-ui/src/views/monitor/cache/index.vue
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								ruoyi-ui/src/views/monitor/cache/index.vue
									
									
									
									
										vendored
									
									
								
							@ -68,7 +68,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import { getCache } from "@/api/monitor/cache";
 | 
					import { getCache } from "@/api/monitor/cache";
 | 
				
			||||||
import echarts from "echarts";
 | 
					import * as echarts from "echarts";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: "Cache",
 | 
					  name: "Cache",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user