vue 使用V-charts浏览器刷新图表不显示
1.在APP.vue中,声明reload方法,控制router-view模块的显示或者隐藏,从而控制页面的再次加载<template> <div id="app"> <router-view v-if="isRouterAlive"></router-view> </div></template><script> export default { name: 'App', provide() {
原创
2021-01-26 17:05:48 ·
1086 阅读 ·
1 评论